linux-sg2042/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 [PATCH] uml: cross-build support : mk_thread 2005-05-05 16:36:35 -07:00
Makefile [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
bugs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.S [PATCH] uml: s390 preparation, checksumming done in arch code 2005-05-05 16:36:38 -07:00
delay.c [PATCH] uml: Delay loop cleanups 2005-05-20 15:48:17 -07:00
fault.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel-offsets.c [PATCH] uml: cross-build support : kernel_offsets 2005-05-05 16:36:35 -07:00
ksyms.c [PATCH] uml: s390 preparation, delay moved to arch 2005-05-05 16:36:38 -07:00
ldt.c [PATCH] uml: consolidate modify_ldt 2005-07-14 09:00:24 -07:00
ptrace.c [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
ptrace_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal.c [PATCH] uml: fix sizeof usage 2005-06-25 16:24:34 -07:00
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 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 2005-05-01 08:58:55 -07:00
syscalls.c [PATCH] uml: fork cleanup 2005-06-25 16:24:35 -07:00
sysrq.c [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
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 [PATCH] uml: start cross-build support : mk_user_constants 2005-05-05 16:36:34 -07:00