summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2006-01-08 01:05:24 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:14:11 -0800
commite585e47031751f4e393e10ffd922885508b958dd (patch)
tree08a641dab000aacb25c6b7331c32271e4109535f /init
parent22c4e3084eb8b88288a622a57d8b35c450a439f2 (diff)
downloadlinux-e585e47031751f4e393e10ffd922885508b958dd.tar.gz
linux-e585e47031751f4e393e10ffd922885508b958dd.tar.xz
[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 <bunk@stusta.de> UID16 was accidentially disabled for !EMBEDDED. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 0eb65f2ad8c9..1a1f114a37e8 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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