DescriptionLinux sandbox: restrict {set,get}priority() in baseline policy.
In the baseline policy, we restrict setpriority() to
|which| == PRIO_PROCESS and (|who| == 0) || (|who| == current_pid).
This doesn't affect most policies which allow setpriority()
unconditionally but allows baseline unittests to pass on Android.
BUG=398611, 399473
R=mdempsky@chromium.org
Committed: https://crrev.com/a007c724bf0aea0450abf43daefa3b0a4e298bd2
Cr-Commit-Position: refs/heads/master@{#294422}
Patch Set 1 : #Patch Set 2 : Better comment and rename. #
Total comments: 2
Patch Set 3 : Address nit. #
Messages
Total messages: 9 (3 generated)
|