Allow limited prlimit64 calls in a utility sandbox
This allows the prlimit64 syscall in utility processes, with the contingency that it only operates on the calling process's PID and it always has the |new_limit| arg set to null. The getrlimit() implementation is backed by this syscall on Linux, and the utility sandbox config already allows SYS_getrlimit. The restrictions above prevent callers from changing the process's own limits, and from querying or changing other process's limits. Bug: 1052045 Change-Id: Iabe81ea2791b5c3d604a9176c7463e9d00ff6cbe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086814Reviewed-by:Robert Sesek <rsesek@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#746833}
Showing
Please register or sign in to comment