All of lore.kernel.org
 help / color / mirror / Atom feed
* Owner match misnaming
@ 2005-07-11 12:04 Jan Engelhardt
  2005-07-11 12:12 ` Amin Azez
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2005-07-11 12:04 UTC (permalink / raw)
  To: Netfilter Developer Mailing List

Hi,


|OWNER match v1.3.1 options:
|[!] --uid-owner userid     Match local uid
|[!] --gid-owner groupid    Match local gid

After analyzing the kernel part because some packets obviously did not match 
my rules, I notice that these are in reality the socket owner's uid, and not 
the process's uid.

I already started a patch to add process [ug]{,e,s,fs}id to the owner 
kernel and user modules, but according to the comments in the kernel code, 
they would just be as SMP-unsafe as the pid/sid/comm code.

Ideas? Why, after all, is this the case?
BTW,
          /* files->file_lock can not be used in a BH */
a BH is a buffer head, at least in the linux kernel...



Jan Engelhardt                                                               
--                                                                            

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-16 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 12:04 Owner match misnaming Jan Engelhardt
2005-07-11 12:12 ` Amin Azez
2005-07-11 18:44   ` Jan Engelhardt
2005-07-12  9:17     ` Harald Welte
2005-07-16 16:29       ` Patrick McHardy
2005-07-16 16:45         ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.