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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux