mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] tiny: Make *[ug]id16 support optional
Configurable 16-bit UID and friends support This allows turning off the legacy 16 bit UID interfaces on embedded platforms. text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3328268 529040 190556 4047864 3dc3f8 vmlinux From: Adrian Bunk <[email protected]> UID16 was accidentially disabled for !EMBEDDED. Signed-off-by: Matt Mackall <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
22c4e3084e
commit
e585e47031
19 changed files with 28 additions and 65 deletions
|
|
@ -228,6 +228,15 @@ config CPUSETS
|
|||
|
||||
source "usr/Kconfig"
|
||||
|
||||
config UID16
|
||||
bool "Enable 16-bit UID system calls" if EMBEDDED
|
||||
depends !ALPHA && !PPC && !PPC64 && !PARISC && !V850 && !ARCH_S390X
|
||||
depends !X86_64 || IA32_EMULATION
|
||||
depends !SPARC64 || SPARC32_COMPAT
|
||||
default y
|
||||
help
|
||||
This enables the legacy 16-bit UID syscall wrappers.
|
||||
|
||||
config CC_OPTIMIZE_FOR_SIZE
|
||||
bool "Optimize for size (Look out for broken compilers!)"
|
||||
default y
|
||||
|
|
|
|||
Loading…
Reference in a new issue