diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-09-01 22:06:04 +0530 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2016-09-01 17:14:00 +0000 |
commit | a49dcf2e745c25a67a76d8a1e9658c16827c9885 (patch) | |
tree | 658978cdddd57fb9c0aa424f4973f46bf7841e51 /android | |
parent | 4547c0f93518197834f7fc11c6558b566b7e14c8 (diff) |
ANDROID: base-cfg: enable SECCOMP config
Enable following seccomp configs
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
Otherwise we will get mediacode error like this on Android N:
E /system/bin/mediaextractor: libminijail: prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER): Invalid argument
Change-Id: I2477b6a2cfdded5c0ebf6ffbb6150b0e5fe2ba12
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'android')
-rw-r--r-- | android/configs/android-base.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/configs/android-base.cfg b/android/configs/android-base.cfg index 6496bb3961a2..288bab2d858d 100644 --- a/android/configs/android-base.cfg +++ b/android/configs/android-base.cfg @@ -141,6 +141,8 @@ CONFIG_PROFILING=y CONFIG_QUOTA=y CONFIG_RTC_CLASS=y CONFIG_RT_GROUP_SCHED=y +CONFIG_SECCOMP=y +CONFIG_SECCOMP_FILTER=y CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y |