diff options
author | Victor Hsieh <victorhsieh@google.com> | 2018-05-10 12:16:22 -0700 |
---|---|---|
committer | Victor Hsieh <victorhsieh@google.com> | 2018-05-10 13:07:26 -0700 |
commit | e64594315b8e82fb4fe07245f33766003b6ad406 (patch) | |
tree | b2cc5ace18a65fe414a6101afd0588e2237fb0c9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 391d91962235871959499a3fea2c2aaa25c91e5d (diff) |
When suid_dumpable == 2, set dumpable to 0 for apps
Core dumps for zygote children are expected to be disabled in CTS, but
on system like Chrome OS, suid_dumpable is 2, thus not compliant with
CTS. This patch sets dumpable to 0 for apps when suid_dumpable is 2.
Test: atest \
android.permission.cts.FileSystemPermissionTest#testAllBlockDevicesAreSecure \
android.os.cts.SecurityFeaturesTest#testPrctlDumpable \
android.seccomp.cts.SeccompHostJUnit4DeviceTest#testCTSSyscallBlocked
Bug: 62379607
Bug: 79094505
Change-Id: Ida43b16590dca1e85a0f9549c779e38c00bc6a0c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions