[BusyBox] init blocks signals and forgets to clear signal mask before executing news processes
Vladimir N. Oleynik
dzo at simtreas.ru
Mon Oct 6 11:22:00 UTC 2003
Jean,
>>>>Also. This init.c part code have full equivalent sysvinit package.
>>
>>>Really?
>>
>>Yes. I compared with last debian sysvinit 2.85. Compare sysvinit
>>spawn() and busybox run() - signal`s manipulations full equivalent.
>
>
> But sysvinit doesn't block SIGHUP using sigprocmask which busybox init
> does ...
Heh. I mixing with parallely tread - "SIGCHLD block problem" ;-)
Think you this problems not equivalent?
Also. I confused...
>init_main:
> /* Set up sig handlers -- be sure to
> * clear all of these in run() */
> sigemptyset(&mask);
> sigaddset(&mask, SIGHUP);
> sigprocmask(SIG_BLOCK, &mask, NULL);
I can`t found this form unstable version CVS. :-O
--w
vodz
More information about the busybox
mailing list