session id and process group for kernel threads

Alexander Kjeldaas (astor@guardian.no)
Mon, 23 Mar 1998 13:35:32 +0100


Currently, a kernel thread is set to pgrp=session=1 after the clone
call. This would be impossible for a normal process to do and is
illegal according to the rules for process groups and sessions. Is
there any reason that they have to do this? If not, I'd like to make
them setsid() to avoid having to special-case them. This is already
done in the pidhash patch.

astor

-- 
 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
 http://www.guardian.no/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu