Martijn Coenen
9e18d0c82f
ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.
...
These will be required going forward.
Signed-off-by: Martijn Coenen <maco@android.com >
Cc: stable <stable@vger.kernel.org > # 4.11+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-08-22 18:43:23 -07:00
Roberto Pereira
9e69dd0179
config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS
...
Disable Network file system support.
Reviewed-at: https://android-review.googlesource.com/#/c/409559/
Signed-off-by: Roberto Pereira <rpere@google.com >
[AmitP: cherry-picked this change from Android common kernel
and updated commit message]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-09 11:47:38 +02:00
Chenbo Feng
2edfe6be20
config: android-base: add CGROUP_BPF
...
Add CONFIG_CGROUP_BPF as a default configuration in android base config
since it is used to replace XT_QTAGUID in future.
Reviewed-at: https://android-review.googlesource.com/#/c/400374/
Signed-off-by: Chenbo Feng <fengc@google.com >
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-09 11:47:38 +02:00
Greg Kroah-Hartman
2096e17063
config: android-base: add CONFIG_MODULES option
...
This adds CONFIG_MODULES, CONFIG_MODULE_UNLOAD, and CONFIG_MODVERSIONS
which are required by the O release.
Reviewed-at: https://android-review.googlesource.com/#/c/364554/
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-09 11:47:38 +02:00
Greg Kroah-Hartman
5b89db2fa5
config: android-base: add CONFIG_IKCONFIG option
...
This adds CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC options, which are a
requirement for the O release.
Reviewed-at: https://android-review.googlesource.com/#/c/364553/
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-09 11:47:38 +02:00
Max Shi
c1ebc2febd
config: android-base: disable CONFIG_USELIB and CONFIG_FHANDLE
...
Turn off the two kernel configs to disable related system ABI.
Reviewed-at: https://android-review.googlesource.com/#/c/264976/
Signed-off-by: Max Shi <meixuanshi@google.com >
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-09 11:47:38 +02:00
Amit Pundir
0d31a194d5
config: android-base: enable hardened usercopy and kernel ASLR
...
Enable CONFIG_HARDENED_USERCOPY and CONFIG_RANDOMIZE_BASE in Android
base config fragment.
Reviewed at https://android-review.googlesource.com/#/c/283659/
Reviewed at https://android-review.googlesource.com/#/c/278133/
Link: http://lkml.kernel.org/r/1481113148-29204-2-git-send-email-amit.pundir@linaro.org
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Cc: Rob Herring <rob.herring@linaro.org >
Cc: John Stultz <john.stultz@linaro.org >
Cc: Daniel Micay <danielmicay@gmail.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2017-02-27 18:43:46 -08:00
Rob Herring
2489a1771a
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 <robh@kernel.org >
Acked-by: John Stultz <john.stultz@linaro.org >
Cc: Amit Pundir <amit.pundir@linaro.org >
Cc: Dmitry Shmidt <dimitrysh@google.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-10-11 15:06:32 -07:00
Rob Herring
d90ae51a3e
config: android: set SELinux as default security mode
...
Android won't boot without SELinux enabled, so make it the default.
Link: http://lkml.kernel.org/r/20160908185934.18098-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-10-11 15:06:32 -07:00
Rob Herring
f023a3956f
config: android: move device mapper options to recommended
...
CONFIG_MD is in recommended, but other dependent options like DM_CRYPT and
DM_VERITY options are in base. The result is the options in base don't
get enabled when applying both base and recommended fragments. Move all
the options to recommended.
Link: http://lkml.kernel.org/r/20160908185934.18098-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: John Stultz <john.stultz@linaro.org >
Cc: Amit Pundir <amit.pundir@linaro.org >
Cc: Dmitry Shmidt <dimitrysh@google.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-10-11 15:06:32 -07:00
Borislav Petkov
a2c6a235db
config/android: Remove CONFIG_IPV6_PRIVACY
...
Option is long gone, see commit 5d9efa7ee9 ("ipv6: Remove privacy
config option.")
Link: http://lkml.kernel.org/r/20160811170340.9859-1-bp@alien8.de
Signed-off-by: Borislav Petkov <bp@suse.de >
Cc: Rob Herring <robh@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-10-11 15:06:32 -07:00
Rob Herring
27eb6622ab
config: add android config fragments
...
Copy the config fragments from the AOSP common kernel android-4.4
branch. It is becoming possible to run mainline kernels with Android,
but the kernel defconfigs don't work as-is and debugging missing config
options is a pain. Adding the config fragments into the kernel tree,
makes configuring a mainline kernel as simple as:
make ARCH=arm multi_v7_defconfig android-base.config android-recommended.config
The following non-upstream config options were removed:
CONFIG_NETFILTER_XT_MATCH_QTAGUID
CONFIG_NETFILTER_XT_MATCH_QUOTA2
CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG
CONFIG_PPPOLAC
CONFIG_PPPOPNS
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_USB_CONFIGFS_F_MTP
CONFIG_USB_CONFIGFS_F_PTP
CONFIG_USB_CONFIGFS_F_ACC
CONFIG_USB_CONFIGFS_F_AUDIO_SRC
CONFIG_USB_CONFIGFS_UEVENT
CONFIG_INPUT_KEYCHORD
CONFIG_INPUT_KEYRESET
Link: http://lkml.kernel.org/r/1466708235-28593-1-git-send-email-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Cc: Amit Pundir <amit.pundir@linaro.org >
Cc: John Stultz <john.stultz@linaro.org >
Cc: Dmitry Shmidt <dimitrysh@google.com >
Cc: Rom Lemarchand <romlem@android.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-08-02 19:35:42 -04:00