original_kernel/arch/um/sys-x86_64
Paolo 'Blaisorblade' Giarrusso bcb01b8a67 [PATCH] uml: fix lvalue for gcc4
Russell King <rmk+lkml@arm.linux.org.uk>

This construct is refused by GCC 4, so here's the (corrected) fix.  Thanks to
Russell for noticing a stupid mistake I did when first sending this.

As he noted, the code is largely suboptimal however it currently works, and
will be fixed shortly.  Just read the access_ok check on fp which is NULL, or
the pointer arithmetic below which should be done with a cast to void*:

 	frame = (struct rt_sigframe __user *)
 		round_down(stack_top - sizeof(struct rt_sigframe), 16) - 8;

The code shows clearly that has been taken from
arch/x86_64/kernel/signal.c:setup_rt_frame(), maybe in a bit of a hurry.

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
bugs.c
delay.c
fault.c
kernel-offsets.c
ksyms.c
mem.c
ptrace.c
ptrace_user.c
sigcontext.c
signal.c
stub.S
stub_segv.c
syscall_table.c
syscalls.c
sysrq.c
um_module.c
unmap.c [PATCH] uml: fix linkage of tt mode against NPTL 2005-06-21 19:07:32 -07:00
user-offsets.c