From 2e0486b11cad5ed1a13a2a6b66d6ff225b854fe2 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Tue, 10 Oct 2006 20:27:38 +0000 Subject: [PATCH] fix for modified 2.6.18 lsm security_netlink_recv --- module-nextgen/apparmor/lsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module-nextgen/apparmor/lsm.c b/module-nextgen/apparmor/lsm.c index 402d0e4b6..3fbd77ab7 100644 --- a/module-nextgen/apparmor/lsm.c +++ b/module-nextgen/apparmor/lsm.c @@ -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)