android_kernel_oneplus_msm8998/android/configs
Yongqin Liu 7988ef0ccc 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>
2016-09-14 14:26:20 +05:30
..
android-base.cfg ANDROID: base-cfg: enable SECCOMP config 2016-09-14 14:26:20 +05:30
android-recommended.cfg Implement memory_state_time, used by qcom,cpubw 2016-08-18 18:56:03 +05:30
README android: configs: Reorder config fragments, update README 2016-02-16 13:54:28 -08:00

The files in this directory are meant to be used as a base for an Android
kernel config. All devices should have the options in android-base.cfg enabled.
While not mandatory, the options in android-recommended.cfg enable advanced
Android features.

Assuming you already have a minimalist defconfig for your device, a possible
way to enable these options would be:

     ARCH=<arch> scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg

This will generate a .config that can then be used to save a new defconfig or
compile a new kernel with Android features enabled.

Because there is no tool to consistently generate these config fragments,
lets keep them alphabetically sorted instead of random.