Re: Which process is associated with process ID 0 (swapper)

From: Jan Engelhardt
Date: Fri Apr 21 2006 - 08:48:20 EST


>>>>Is your code doing it like ipt_owner does?
>>
>> It seems that ipt_owner does _not_ support PID match anymore:
>
>Yes, it was removed for two reasons:
>
>- it used tasklist_lock from bh-context, resulting in deadlocks
>- there is no 1:1 mapping between sockets (or packets) and
> processes. If you use corking even a single packet can be
> created in cooperation by multiple processes.
>
Either way, I'd just be happy to match on "who created this socket" (don't
need "who sends" ATM) without trying to set up SELinux...

Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/