2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

fix for modified 2.6.18 lsm security_netlink_recv

This commit is contained in:
John Johansen 2006-10-10 20:27:38 +00:00
parent 5a2e54261a
commit 2e0486b11c

View File

@ -176,9 +176,9 @@ static int apparmor_netlink_send(struct sock *sk, struct sk_buff *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)