From: Rob Herring Date: Tue, 11 Oct 2016 20:54:44 +0000 (-0700) Subject: config: android: enable CONFIG_SECCOMP X-Git-Tag: Ubuntu-5.0.0-8.9~6283^2~26 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2489a1771aae86062c637f0eb7a06129681208b1;p=mirror_ubuntu-disco-kernel.git config: android: enable CONFIG_SECCOMP As of Android N, SECCOMP is required. Without it, we will get mediaextractor error: E /system/bin/mediaextractor: libminijail: prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER): Invalid argument Link: http://lkml.kernel.org/r/20160908185934.18098-3-robh@kernel.org Signed-off-by: Rob Herring Acked-by: John Stultz Cc: Amit Pundir Cc: Dmitry Shmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 248070e0d61d..1a8f34f63601 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -131,6 +131,7 @@ CONFIG_PREEMPT=y CONFIG_QUOTA=y CONFIG_RTC_CLASS=y CONFIG_RT_GROUP_SCHED=y +CONFIG_SECCOMP=y CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_SELINUX=y