summaryrefslogtreecommitdiff
path: root/drivers/hwmon/adm1025.c
diff options
context:
space:
mode:
authorKacper Kornet <kornet@camk.edu.pl>2011-01-28 23:21:04 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-31 03:01:27 (GMT)
commitaa5bd67dcfdf9af34c7fa36ebc87d4e1f7e91873 (patch)
tree95196496421cd8e7ad4c655becf2fa3309c88052 /drivers/hwmon/adm1025.c
parent2f215a7d6d1d8ed0bbdda4fc4f7d64e3a1d46acc (diff)
downloadlinux-aa5bd67dcfdf9af34c7fa36ebc87d4e1f7e91873.tar.xz
Fix prlimit64 for suid/sgid processes
Since check_prlimit_permission always fails in the case of SUID/GUID processes, such processes are not able to read or set their own limits. This commit changes this by assuming that process can always read/change its own limits. Signed-off-by: Kacper Kornet <kornet@camk.edu.pl> Acked-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/adm1025.c')
0 files changed, 0 insertions, 0 deletions