diff options
| author | Mike Pecovnik <mike.pecovnik@gmail.com> | 2014-02-24 21:11:16 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-03 18:54:26 +0200 |
| commit | 35bbd572fe8f5cbdae2208968c68f6a9177f9fcd (patch) | |
| tree | 02d3d23f849ff48ff7e50982083a54e52c24e7aa /scripts/checkpatch.pl | |
| parent | 1b52f3748f5b3b1f3debffac9fdb045080e878d6 (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/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
