summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-03-26 09:09:11 -0700
committerNick Kralevich <nnk@google.com>2012-04-02 14:11:07 -0700
commit6ebf12fe1bc2de7af4522349973e8bfcc71d6126 (patch)
tree72ef777aa15fbe3cb0b34dcf77f66026e5ed2efb /trusty/coverage/coverage_test.cpp
parenteb68fa8153d97f5f8b6d9062fcf91fe393e3bff3 (diff)
init: Change umask of forked processes to 077
Modify init to set the umask to 077 when forking processes. This helps protect against inadvertant information disclosure in init's child processes. ueventd: Keep umask at 000. uevent needs to be able to create device nodes with exactly the permissions it indicates. Testing: 1) Do an "ls -lR /data /dev" on the device before and after the umask change and diff the output. Verified by hand that the permission change wouldn't cause any problems. 2) Verify that package installation works, and the permissions are as expected, when installing a program from market and "adb install". Bug: 3272072 Change-Id: Ie4f7f06c0ee9da8d9b6fce25d71d8991a9bce406
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions