You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paolo 'Blaisorblade' Giarrusso
7a590611c0
[PATCH] uml: fix access_ok
...
The access_ok_tt() macro is bogus, in that a read access is unconditionally
considered valid.
I couldn't find in SCM logs the introduction of this check, but I went back to
2.4.20-1um and the definition was the same.
Possibly this was done to avoid problems with missing set_fs() calls, but
there can't be any I think because they would fail with SKAS mode.
TT-specific code is still to check.
Also, this patch joins common code together, and makes the "address range
wrapping" check happen for all cases, rather than for only some.
This may, possibly, be reoptimized at some time, but the current code doesn't
seem clever, just confused.
* Important: I've also had to change references to access_ok_{tt,skas} back to
access_ok - the kernel wasn't that happy otherwise.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago
..
sysdep-i386
[PATCH] uml: fix syscall stubs
20 years ago
sysdep-ia64
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
sysdep-ppc
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
sysdep-x86_64
[PATCH] uml: fix syscall stubs
20 years ago
aio.h
[PATCH] uml: revert block driver use of host AIO
20 years ago
chan_kern.h
Linux-2.6.12-rc2
20 years ago
chan_user.h
[PATCH] uml console channels: fix the API of console_write
19 years ago
choose-mode.h
[PATCH] uml: fix compilation for __CHOOSE_MODE addition
20 years ago
common-offsets.h
[PATCH] uml makefiles sanitized
20 years ago
elf_user.h
Linux-2.6.12-rc2
20 years ago
frame_kern.h
Linux-2.6.12-rc2
20 years ago
init.h
[PATCH] uml: use host AIO support
20 years ago
initrd.h
Linux-2.6.12-rc2
20 years ago
irq_kern.h
[PATCH] uml: use host AIO support
20 years ago
irq_user.h
Linux-2.6.12-rc2
20 years ago
kern.h
Linux-2.6.12-rc2
20 years ago
kern_util.h
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
line.h
[PATCH] uml: hot-unplug code cleanup
20 years ago
mconsole.h
[PATCH] uml: breakpoint an arbitrary thread
20 years ago
mconsole_kern.h
[PATCH] uml: hot-unplug code cleanup
20 years ago
mem.h
[PATCH] uml: inline mk_pte and various friends
20 years ago
mem_kern.h
Linux-2.6.12-rc2
20 years ago
mem_user.h
[PATCH] uml: big memory fixes
20 years ago
mode.h
Linux-2.6.12-rc2
20 years ago
mode_kern.h
Linux-2.6.12-rc2
20 years ago
net_kern.h
[PATCH] missing platform_device.h includes
20 years ago
net_user.h
[PATCH] uml: fix UML network driver endianness bugs
20 years ago
os.h
[PATCH] uml: big memory fixes
20 years ago
process.h
Linux-2.6.12-rc2
20 years ago
ptrace_user.h
Linux-2.6.12-rc2
20 years ago
registers.h
[PATCH] uml: Fix sysrq-r support for skas mode
20 years ago
sigcontext.h
Linux-2.6.12-rc2
20 years ago
sigio.h
Linux-2.6.12-rc2
20 years ago
signal_kern.h
Linux-2.6.12-rc2
20 years ago
signal_user.h
Linux-2.6.12-rc2
20 years ago
skas_ptrace.h
[PATCH] uml: header and code cleanup
20 years ago
skas_ptregs.h
[PATCH] uml makefiles sanitized
20 years ago
syscall.h
[PATCH] uml: system call path cleanup
20 years ago
sysrq.h
[PATCH] uml: stack dump fix
20 years ago
task.h
[PATCH] uml makefiles sanitized
20 years ago
tempfile.h
Linux-2.6.12-rc2
20 years ago
time_user.h
[PATCH] uml: Proper clone support for skas0
20 years ago
tlb.h
[PATCH] mm: uml kill unused
20 years ago
ubd_user.h
Linux-2.6.12-rc2
20 years ago
um_mmu.h
Linux-2.6.12-rc2
20 years ago
um_uaccess.h
[PATCH] uml: fix access_ok
19 years ago
umid.h
Linux-2.6.12-rc2
20 years ago
uml_uaccess.h
[PATCH] uml: separate libc-dependent uaccess code
20 years ago
user.h
[PATCH] strlcat: use for uml umid.c
20 years ago
user_util.h
[PATCH] uml: move libc-dependent startup and signal code
20 years ago