[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH 2/2] netlink: kill eff_cap from struct netlink_skb_parms
- From: Chris Wright <chrisw sous-sol org>
- To: Chris Wright <chrisw sous-sol org>
- Cc: NetDev <netdev vger kernel org>, "linux-security-module vger kernel org" <linux-security-module vger kernel org>, "David S. Miller" <davem davemloft net>, dm-devel redhat com, Patrick McHardy <kaber trash net>, drbd-dev lists linbit com
- Subject: Re: [dm-devel] [PATCH 2/2] netlink: kill eff_cap from struct netlink_skb_parms
- Date: Thu, 3 Mar 2011 12:17:26 -0800
* Chris Wright (chrisw sous-sol org) wrote:
> Ideally, we'd consolidate those into a variant of security_netlink_recv().
> However the issue is with types. Inside connector callback we only have
> netlink_skb_params (seems inapproriate to cast back out to skb).
>
> We could change the lsm hook to only pass nsp, but SELinux actually
> cares about the netlink type. Any ideas?
Actually I misremembered, it only cares on the send path.
We could completely drop skb from recv lsm hook, will send an RFC
momentarily with example.
thanks,
-chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]