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


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to