summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Hector Chavez2018-06-08 17:02:40 -0500
committerLuis Hector Chavez2018-06-11 14:41:24 -0500
commit0becca32bca16cb98477c91a46ab4c4ca22d426c (patch)
tree00daf6cf46b7dd2d12c06d16a18af266c6d0cd1f /libcutils/fs_config.cpp
parentd32c36c961da82fa0b0e70a80d9a6e62a0551d2a (diff)
downloadplatform-system-core-0becca32bca16cb98477c91a46ab4c4ca22d426c.tar.gz
platform-system-core-0becca32bca16cb98477c91a46ab4c4ca22d426c.tar.xz
platform-system-core-0becca32bca16cb98477c91a46ab4c4ca22d426c.zip
bootstat: Remove the CAP_SYSLOG capability
This change removes the CAP_SYSLOG file based capability from bootstat, since the intention is that it should not be accessing the logs in the long term. In order to avoid bitrot, the fallback code that depends on CAP_SYSLOG has also been removed. Bug: 62845925 Test: system/core/bootstat/boot_reason_test.sh Change-Id: I899be44ef3ac1c4d81072f801d55c928ae09bb15
Diffstat (limited to 'libcutils/fs_config.cpp')
-rw-r--r--libcutils/fs_config.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index 341dfe314..267b7b356 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -180,8 +180,6 @@ static const struct fs_path_config android_files[] = {
180 // in user builds. 180 // in user builds.
181 { 00700, AID_SYSTEM, AID_SHELL, CAP_MASK_LONG(CAP_BLOCK_SUSPEND), 181 { 00700, AID_SYSTEM, AID_SHELL, CAP_MASK_LONG(CAP_BLOCK_SUSPEND),
182 "system/bin/inputflinger" }, 182 "system/bin/inputflinger" },
183 { 00550, AID_SYSTEM, AID_LOG, CAP_MASK_LONG(CAP_SYSLOG),
184 "system/bin/bootstat" },
185 { 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | 183 { 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) |
186 CAP_MASK_LONG(CAP_SETGID), 184 CAP_MASK_LONG(CAP_SETGID),
187 "system/bin/run-as" }, 185 "system/bin/run-as" },