aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPatrick McHardy <[email protected]>2005-08-15 02:31:36 +0000
committerDavid S. Miller <[email protected]>2005-08-29 23:00:58 +0000
commitab33a1711cf60bfb562b1ab89ac9f23d1425e8b1 (patch)
treeabd497f5b7023ff748001d6ef182d74f882f1a07 /net/unix/af_unix.c
parent[NETLINK]: Convert netlink users to use group numbers instead of bitmasks (diff)
downloadkernel-ab33a1711cf60bfb562b1ab89ac9f23d1425e8b1.tar.gz
kernel-ab33a1711cf60bfb562b1ab89ac9f23d1425e8b1.zip
[NETLINK]: Return -EPROTONOSUPPORT in netlink_create() if no kernel socket is registered
This is necessary for dynamic number of netlink groups to make sure we know the number of possible groups before bind() is called. With this change pure userspace communication using unused netlink protocols becomes impossible. Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions