Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17048
b: refs/heads/master
c: e585e47
h: refs/heads/master
v: v3
  • Loading branch information
Matt Mackall authored and Linus Torvalds committed Jan 9, 2006
1 parent 10a4f66 commit 3d55e93
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 66 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22c4e3084eb8b88288a622a57d8b35c450a439f2
refs/heads/master: e585e47031751f4e393e10ffd922885508b958dd
3 changes: 0 additions & 3 deletions trunk/arch/alpha/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ config MMU
bool
default y

config UID16
bool

config RWSEM_GENERIC_SPINLOCK
bool

Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ config MCA
<file:Documentation/mca.txt> (and especially the web page given
there) before attempting to build an MCA bus kernel.

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm26/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ config FORCE_MAX_ZONEORDER
int
default 9

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/cris/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ config MMU
bool
default y

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/h8300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ config FPU
bool
default n

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ config MMU
config SBUS
bool

config UID16
bool
default y

config GENERIC_ISA_DMA
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ config MMU
bool
default y

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/m68knommu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ config FPU
bool
default n

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ config MMU
config STACK_GROWSUP
def_bool y

config UID16
bool

config RWSEM_GENERIC_SPINLOCK
def_bool y

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ config MMU
bool
default y

config UID16
bool

config GENERIC_HARDIRQS
bool
default y
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/ppc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ config MMU
bool
default y

config UID16
bool

config GENERIC_HARDIRQS
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ config SUPERH
gaming console. The SuperH port has a home page at
<http://www.linux-sh.org/>.

config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ config MMU
bool
default y

config UID16
bool
default y

config HIGHMEM
bool
default y
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/sparc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,6 @@ config COMPAT
depends on SPARC32_COMPAT
default y

config UID16
bool
depends on SPARC32_COMPAT
default y

config BINFMT_ELF32
tristate "Kernel support for 32-bit ELF binaries"
depends on SPARC32_COMPAT
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/um/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ config SBUS
config PCI
bool

config UID16
bool
default y

config GENERIC_CALIBRATE_DELAY
bool
default y
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/v850/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
config MMU
bool
default n
config UID16
bool
default n
config RWSEM_GENERIC_SPINLOCK
bool
default y
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,6 @@ config SYSVIPC_COMPAT
depends on COMPAT && SYSVIPC
default y

config UID16
bool
depends on IA32_EMULATION
default y

endmenu

source "net/Kconfig"
Expand Down
9 changes: 9 additions & 0 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions trunk/kernel/sys_ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,25 @@ cond_syscall(sys_inotify_init);
cond_syscall(sys_inotify_add_watch);
cond_syscall(sys_inotify_rm_watch);
cond_syscall(sys_migrate_pages);
cond_syscall(sys_chown16);
cond_syscall(sys_fchown16);
cond_syscall(sys_getegid16);
cond_syscall(sys_geteuid16);
cond_syscall(sys_getgid16);
cond_syscall(sys_getgroups16);
cond_syscall(sys_getresgid16);
cond_syscall(sys_getresuid16);
cond_syscall(sys_getuid16);
cond_syscall(sys_lchown16);
cond_syscall(sys_setfsgid16);
cond_syscall(sys_setfsuid16);
cond_syscall(sys_setgid16);
cond_syscall(sys_setgroups16);
cond_syscall(sys_setregid16);
cond_syscall(sys_setresgid16);
cond_syscall(sys_setresuid16);
cond_syscall(sys_setreuid16);
cond_syscall(sys_setuid16);

/* arch-specific weak syscall entries */
cond_syscall(sys_pciconfig_read);
Expand Down

0 comments on commit 3d55e93

Please sign in to comment.