mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
[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>
This commit is contained in:
parent
77247bbb30
commit
d629b836d1
2 changed files with 21 additions and 16 deletions
|
@ -107,7 +107,7 @@ struct netlink_skb_parms
|
|||
struct ucred creds; /* Skb credentials */
|
||||
__u32 pid;
|
||||
__u32 dst_pid;
|
||||
__u32 dst_groups;
|
||||
__u32 dst_group;
|
||||
kernel_cap_t eff_cap;
|
||||
__u32 loginuid; /* Login (audit) uid */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue