DescriptionNaCl: Add sanity check for number of open FDs at startup
This is primarily for Non-SFI NaCl, where leaking FDs would be a
security hole. For SFI NaCl, this is just for defence in depth.
I've put the check just before enabling the seccomp-bpf sandbox. This
guards against creation of unusual FDs, e.g. via epoll_create(), which
might happen even after enabling the SUID sandbox (which mostly disables
open()).
BUG=358719
TEST=browser_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271583
Patch Set 1 #
Total comments: 13
Patch Set 2 : Review #
Total comments: 4
Patch Set 3 : Review #Patch Set 4 : Simplify as suggested in review #
Total comments: 4
Patch Set 5 : Review #
Messages
Total messages: 13 (0 generated)
|