ANDROID: base-cfg: enable SECCOMP config
authorYongqin Liu <yongqin.liu@linaro.org>
Thu, 1 Sep 2016 16:36:04 +0000 (22:06 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 08:56:20 +0000 (14:26 +0530)
commit7988ef0cccaef65a0f0d9f5dc28150d2347c1f47
tree734162520baf6a6452f9e91398b0ce670155ce20
parent8b94247342c5d606af162aa4da6618481d9c1ca0
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>
android/configs/android-base.cfg