diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-14 22:27:50 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:00:49 -0400 |
commit | d629b836d151d43332492651dd841d32e57ebe3b (patch) | |
tree | 0276547438963b51b8d92df201e91d867c7fa9c0 /include/linux | |
parent | 77247bbb3094246be9d057e7be442cc708f123a8 (diff) |
[NETLINK]: Use group numbers instead of bitmasks internally
Using the group number allows increasing the number of groups without
beeing limited by the size of the bitmask. It introduces one limitation
for netlink users: messages can't be broadcasted to multiple groups anymore,
however this feature was never used inside the kernel.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index eab51f9c9c86..c724c9d4984a 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -107,7 +107,7 @@ struct netlink_skb_parms | |||
107 | struct ucred creds; /* Skb credentials */ | 107 | struct ucred creds; /* Skb credentials */ |
108 | __u32 pid; | 108 | __u32 pid; |
109 | __u32 dst_pid; | 109 | __u32 dst_pid; |
110 | __u32 dst_groups; | 110 | __u32 dst_group; |
111 | kernel_cap_t eff_cap; | 111 | kernel_cap_t eff_cap; |
112 | __u32 loginuid; /* Login (audit) uid */ | 112 | __u32 loginuid; /* Login (audit) uid */ |
113 | }; | 113 | }; |