DescriptionNon-SFI NaCl: Allow openat system call to gracefully fail on BareMetal seccomp-bpf.
sysconf via get_nprocs_conf glibc function calls opendir() which calls
openat() syscall, make them gracefully fail with EPERM instead of killing with SIGSYS.
This fixes crash trying to start chrome tracing when running
application with BareMetal with recent glibc.
BUG=407516
TESTED=launched BareMetal NaCl app and started chrome tracing and doesn't crash.
Committed: https://crrev.com/8348200de4dbd124b18dd2ecbf6cd44368083012
Cr-Commit-Position: refs/heads/master@{#292287}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix unit test #
Messages
Total messages: 12 (0 generated)
|