aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2013-10-05 13:15:30 -0700
committerLinus Torvalds <[email protected]>2013-10-06 13:50:14 -0700
commit2433c8f094a008895e66f25bd1773cdb01c91d01 (patch)
tree0b5136b1d816a1b90cc7370313a257a60f6865ae /lib/memory-notifier-error-inject.c
parent13caa8ed93513dd216ede0c84d833e39fc2e3e2a (diff)
net: Update the sysctl permissions handler to test effective uid/gid
Modify the code to use current_euid(), and in_egroup_p, as in done in fs/proc/proc_sysctl.c:test_perm() Cc: [email protected] Reviewed-by: Eric Sandeen <[email protected]> Reported-by: Eric Sandeen <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions