Re: [PATCH 2/2] netlink: kill eff_cap from struct netlink_skb_parms

From
Chris Wright <hidden>
Date
2011-03-03 20:17:46
Also in
dm-devel
Reply to
Chris Wright, 2011-03-03
* 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
Thread (7 messages) 7 messages, 4 authors, last reply 2011-03-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help