diff options
author | Kacper Kornet <[email protected]> | 2011-01-29 00:21:04 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-31 13:01:27 +1000 |
commit | aa5bd67dcfdf9af34c7fa36ebc87d4e1f7e91873 (patch) | |
tree | 95196496421cd8e7ad4c655becf2fa3309c88052 /tools/perf/util/trace-event-scripting.c | |
parent | 2f215a7d6d1d8ed0bbdda4fc4f7d64e3a1d46acc (diff) |
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 <[email protected]>
Acked-by: Jiri Slaby <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions