Re: [PATCH 10/15] misc: Make *[ug]id16 support optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 Nov 2005, Matt Mackall wrote:
> 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
> 
> Signed-off-by: Matt Mackall <[email protected]>
> 
> Index: 2.6.14-misc/init/Kconfig
> ===================================================================
> --- 2.6.14-misc.orig/init/Kconfig	2005-11-09 11:21:02.000000000 -0800
> +++ 2.6.14-misc/init/Kconfig	2005-11-09 11:22:06.000000000 -0800
> @@ -364,7 +364,16 @@ config SYSENTER
>  	help
>  	  Disabling this feature removes sysenter handling as well as
>  	  vsyscall fixmaps.
> - 
> +
> +config UID16
> +	bool "Enable 16-bit UID system calls" if EMBEDDED
> +	depends !ALPHA && !PPC && !PPC64 && !PARISC && !V850 && !ARCH_S390X

Wouldn't it be better to explicitly list the architectures that support it?
I assume new architectures won't implement it anyway?

> +	depends !X86_64 || IA32_EMULATION
> +	depends !SPARC64 || SPARC32_COMPAT

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux