Skip to content
Commit aa5bd67d authored by Kacper Kornet's avatar Kacper Kornet Committed by Linus Torvalds
Browse files

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: default avatarKacper Kornet <kornet@camk.edu.pl>
Acked-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2f215a7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment