diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-15 21:33:26 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-30 01:01:11 +0200 |
commit | 066286071d3542243baa68166acb779187c848b3 (patch) | |
tree | ef6604f16ceb13842a30311654e6a64aac716c48 /security/selinux/netlink.c | |
parent | [NETLINK]: Add set/getsockopt options to support more than 32 groups (diff) | |
download | linux-066286071d3542243baa68166acb779187c848b3.tar.xz linux-066286071d3542243baa68166acb779187c848b3.zip |
[NETLINK]: Add "groups" argument to netlink_kernel_create
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c index 20f481015db4..e203883406dd 100644 --- a/security/selinux/netlink.c +++ b/security/selinux/netlink.c @@ -104,7 +104,8 @@ void selnl_notify_policyload(u32 seqno) static int __init selnl_init(void) { - selnl = netlink_kernel_create(NETLINK_SELINUX, NULL, THIS_MODULE); + selnl = netlink_kernel_create(NETLINK_SELINUX, SELNLGRP_MAX, NULL, + THIS_MODULE); if (selnl == NULL) panic("SELinux: Cannot create netlink socket."); netlink_set_nonroot(NETLINK_SELINUX, NL_NONROOT_RECV); |