diff options
author | Matt Mackall <mpm@selenic.com> | 2006-01-08 04:05:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:11 -0500 |
commit | e585e47031751f4e393e10ffd922885508b958dd (patch) | |
tree | 08a641dab000aacb25c6b7331c32271e4109535f /init | |
parent | 22c4e3084eb8b88288a622a57d8b35c450a439f2 (diff) |
[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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 0eb65f2ad8c..1a1f114a37e 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -228,6 +228,15 @@ config CPUSETS | |||
228 | 228 | ||
229 | source "usr/Kconfig" | 229 | source "usr/Kconfig" |
230 | 230 | ||
231 | config UID16 | ||
232 | bool "Enable 16-bit UID system calls" if EMBEDDED | ||
233 | depends !ALPHA && !PPC && !PPC64 && !PARISC && !V850 && !ARCH_S390X | ||
234 | depends !X86_64 || IA32_EMULATION | ||
235 | depends !SPARC64 || SPARC32_COMPAT | ||
236 | default y | ||
237 | help | ||
238 | This enables the legacy 16-bit UID syscall wrappers. | ||
239 | |||
231 | config CC_OPTIMIZE_FOR_SIZE | 240 | config CC_OPTIMIZE_FOR_SIZE |
232 | bool "Optimize for size (Look out for broken compilers!)" | 241 | bool "Optimize for size (Look out for broken compilers!)" |
233 | default y | 242 | default y |