That does sound reasonable... I'll give it a try on my systems here and
see what I get.

Anyone else willing to test?

Matt

On Sun, Dec 09, 2001 at 12:55:25AM +0100, Martin Diehl wrote:
> On Thu, 6 Dec 2001, Pavel Machek wrote:
> 
> > -   exit_files(current);
> > -   current->files = init_task.files;
> > -   atomic_inc(&current->files->count);
> > -   daemonize();
> 
> what about keeping all this as was pointed out by Alan and simply add
> 
>       sigfillset(&current->blocked);
> 
> after daemonize() call. So the thread has all signals blocked and is
> immune even to SIGKILL (at least if raised from userland IMHO).
> 
> Martin

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

I want my GPFs!!!
                                        -- Stef
User Friendly, 11/9/1998

Attachment: msg03200/pgp00000.pgp
Description: PGP signature

Reply via email to