aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Pecovnik <mike.pecovnik@gmail.com>2014-02-24 21:11:16 +0100
committerMoyster <oysterized@gmail.com>2019-05-03 18:54:26 +0200
commit35bbd572fe8f5cbdae2208968c68f6a9177f9fcd (patch)
tree02d3d23f849ff48ff7e50982083a54e52c24e7aa /scripts
parent1b52f3748f5b3b1f3debffac9fdb045080e878d6 (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. Change-Id: I3179755947077de1d2a92a7573fbdac65314e6dc Signed-off-by: Mike Pecovnik <mike.pecovnik@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions