Vaclav Slavik schrieb:
> The removal of setpgid(0,0) call was apparently intentional (the log says
> "No longer create a new process group in dfb_core_create()."), but it's
> needed at least by the fbdev system with vt-switch on, otherwise the
> process is bound to get SIGHUP when dfb_vt_detach() is called.

My original plan was to move this to the fbdev system module, but after
removing it from the core everything was working as usual without adding
it.

> Attached patch simply restores the call, but perhaps there's a better
> way. I'm not familiar with DFB code, so I don't know how the initialization
> looks like and whether it's safe to call setpgid() from fbdev system
> initialization or if that would be too late.

I'm adding the call to system_initialize() which is early enough.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to