aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netlink.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-08-14 22:29:52 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:00:54 -0400
commitac6d439d2097b72ea0cbc2322ce1263a38bc1fd0 (patch)
tree19e638a226993dddede5a2da577e2572f7555a95 /security/selinux/netlink.c
parentd629b836d151d43332492651dd841d32e57ebe3b (diff)
[NETLINK]: Convert netlink users to use group numbers instead of bitmasks
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r--security/selinux/netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index 0f7be6524555..20f481015db4 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -80,8 +80,8 @@ static void selnl_notify(int msgtype, void *data)
80 nlh = NLMSG_PUT(skb, 0, 0, msgtype, len); 80 nlh = NLMSG_PUT(skb, 0, 0, msgtype, len);
81 selnl_add_payload(nlh, len, msgtype, data); 81 selnl_add_payload(nlh, len, msgtype, data);
82 nlh->nlmsg_len = skb->tail - tmp; 82 nlh->nlmsg_len = skb->tail - tmp;
83 NETLINK_CB(skb).dst_groups = SELNL_GRP_AVC; 83 NETLINK_CB(skb).dst_group = SELNLGRP_AVC;
84 netlink_broadcast(selnl, skb, 0, SELNL_GRP_AVC, GFP_USER); 84 netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER);
85out: 85out:
86 return; 86 return;
87 87