Do not set PR_SET_NO_NEW_PRIVS when install seccomp filter
Setting PR_SET_NO_NEW_PRIVS actually breaks SELinux domain transition (of debuggerd, for example). Do not set the bit when install the filter. Instead, the caller must either have done it, or have CAP_SYS_ADMIN. Test: build Bug: 63944145 Bug: 71859146 Change-Id: I2af334fed61cac03fd0b3b5c8866e2e72b31cf17
Loading
Please sign in to comment