original_kernel/arch/um/sys-i386
Paolo 'Blaisorblade' Giarrusso 2e5e55923e [PATCH] uml: consolidate modify_ldt
*) Reorganize the two cases of sys_modify_ldt to share all the reasonably
   common code.

*) Avoid memory allocation when unneeded (i.e.  when we are writing and the
   passed buffer size is known), thus not returning ENOMEM (which isn't
   allowed for this syscall, even if there is no strict "specification").

*) Add copy_{from,to}_user to modify_ldt for TT mode.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-14 09:00:24 -07:00
..
util
Makefile [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
bugs.c
checksum.S
delay.c
fault.c
kernel-offsets.c
ksyms.c
ldt.c [PATCH] uml: consolidate modify_ldt 2005-07-14 09:00:24 -07:00
ptrace.c
ptrace_user.c
sigcontext.c
signal.c
stub.S [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
stub_segv.c [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
sys_call_table.S
syscalls.c
sysrq.c
unmap.c [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix" 2005-07-14 09:00:24 -07:00
user-offsets.c