commit | 46833a86f7ab30101096d81117dd250bfae74c6f | [log] [tgz] |
---|---|---|
author | Mike Pecovnik <mike.pecovnik@gmail.com> | Mon Feb 24 21:11:16 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 25 18:35:14 2014 -0500 |
tree | 916be8a6ddfe6d2c6cdccb93d6c752927c16854b | |
parent | 687d705c031916b83953b714917b04d899e23cf5 [diff] |
net: Fix permission check in netlink_connect() netlink_sendmsg() was changed to prevent non-root processes from sending messages with dst_pid != 0. netlink_connect() however still only checks if nladdr->nl_groups is set. This patch modifies netlink_connect() to check for the same condition. Signed-off-by: Mike Pecovnik <mike.pecovnik@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>