From: Darrel Goeddel Date: Tue, 27 Jun 2006 20:26:11 +0000 (-0700) Subject: [NETLINK]: Encapsulate eff_cap usage within security framework. X-Git-Tag: v2.6.18-rc1~321^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7bdb545d23026b18be53289fd866d1ac07f5f8c;p=pandora-kernel.git [NETLINK]: Encapsulate eff_cap usage within security framework. This patch encapsulates the usage of eff_cap (in netlink_skb_params) within the security framework by extending security_netlink_recv to include a required capability parameter and converting all direct usage of eff_caps outside of the lsm modules to use the interface. It also updates the SELinux implementation of the security_netlink_send and security_netlink_recv hooks to take advantage of the sid in the netlink_skb_params struct. This also enables SELinux to perform auditing of netlink capability checks. Please apply, for 2.6.18 if possible. Signed-off-by: Darrel Goeddel Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: David S. Miller --- Reading git-diff-tree failed