DescriptionNon-SFI NaCl: Clean up seccomp for syscalls which return EPERM
- getegid, geteuid, getgid, and getuid now return EPERM
instead of raising SIGSYS. This simplifies the test code.
- Define a macro for sandbox tests for syscalls which return
EPERM to reduce the size of not interesting test cases.
- Pass five zeros after syscall number to syscall() so that
tests will not be flaky due to uninitialized values on stack.
BUG=359285
TEST=nacl_loader_unittests, trybots
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266317
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 4
Patch Set 3 : handle review comments #
Messages
Total messages: 17 (0 generated)
|