summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-07-21 21:41:11 +0200
committerKay Sievers <kay.sievers@suse.de>2006-07-21 21:41:11 +0200
commit733f070dddc096175fb74ba44a95538cf09411ba (patch)
tree8326a5ad51dd8d426208babf184219b2fd564674 /udevd.c
parent7d5ccc081008a08f066b5bb6805f417585ae663a (diff)
switch uevent netlink socket to group 1 only
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevd.c b/udevd.c
index 02c4887f54..751231ee41 100644
--- a/udevd.c
+++ b/udevd.c
@@ -789,7 +789,7 @@ static int init_uevent_netlink_sock(void)
memset(&snl, 0x00, sizeof(struct sockaddr_nl));
snl.nl_family = AF_NETLINK;
snl.nl_pid = getpid();
- snl.nl_groups = 0xffffffff;
+ snl.nl_groups = 1;
uevent_netlink_sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT);
if (uevent_netlink_sock == -1) {