mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
fix for modified 2.6.18 lsm security_netlink_recv
This commit is contained in:
parent
5a2e54261a
commit
2e0486b11c
@ -176,9 +176,9 @@ static int apparmor_netlink_send(struct sock *sk, struct sk_buff *skb)
|
|||||||
return cap_netlink_send(sk, skb);
|
return cap_netlink_send(sk, skb);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int apparmor_netlink_recv(struct sk_buff *skb)
|
static int apparmor_netlink_recv(struct sk_buff *skb, int cap)
|
||||||
{
|
{
|
||||||
return cap_netlink_recv(skb);
|
return cap_netlink_recv(skb, cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void apparmor_bprm_apply_creds(struct linux_binprm *bprm, int unsafe)
|
static void apparmor_bprm_apply_creds(struct linux_binprm *bprm, int unsafe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user