lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080402112103.GB20815@postel.suug.ch>
Date:	Wed, 2 Apr 2008 13:21:03 +0200
From:	Thomas Graf <tgraf@...g.ch>
To:	Patrick McHardy <kaber@...sh.net>
Cc:	hadi@...erus.ca, David Miller <davem@...emloft.net>,
	shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-2.6.26] netlink: make socket filters work on netlink

* Patrick McHardy <kaber@...sh.net> 2008-04-02 12:00
> jamal wrote:
> >On Tue, 2008-01-04 at 13:52 +0200, Patrick McHardy wrote:
> >
> >>Isn't that what nlmsg_pid already contains?
> >
> >would work only on the case of user<->user.
> >On kernel->user it is supposed to be owned by the kernel and set to 0.
> 
> 
> No, in the case of events its supposed to be set to the pid of the
> socket that caused the event. Check out qdisc_notify() or rtmsg_ifa()
> for example.

Unfortunately in many cases the pid is also set to 0 because the
information is lost when carrying the event using the notifier
interface. Probably fixable though.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ