~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to kernel-patches/2.6.16/postapply/module/undo_netlinkrecv.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: linux-2.6.16.29/security/apparmor/lsm.c
2
 
===================================================================
3
 
--- linux-2.6.16.29.orig/security/apparmor/lsm.c
4
 
+++ linux-2.6.16.29/security/apparmor/lsm.c
5
 
@@ -176,9 +176,9 @@ static int apparmor_netlink_send(struct 
6
 
        return cap_netlink_send(sk, skb);
7
 
 }
8
 
 
9
 
-static int apparmor_netlink_recv(struct sk_buff *skb, int cap)
10
 
+static int apparmor_netlink_recv(struct sk_buff *skb)
11
 
 {
12
 
-       return cap_netlink_recv(skb, cap);
13
 
+       return cap_netlink_recv(skb);
14
 
 }
15
 
 
16
 
 static void apparmor_bprm_apply_creds(struct linux_binprm *bprm, int unsafe)