diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-15 02:07:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-15 02:07:51 +0200 |
commit | 9c03f1622af051004416dd3e24d8a0fa31e34178 (patch) | |
tree | e7dad951e3b2eeb691cb7d5970e3c728176972c3 /include | |
parent | MN10300: Fix up the IRQ names for the on-chip serial ports (diff) | |
parent | x86-64, compat: Retruncate rax after ia32 syscall entry tracing (diff) | |
download | linux-9c03f1622af051004416dd3e24d8a0fa31e34178.tar.xz linux-9c03f1622af051004416dd3e24d8a0fa31e34178.zip |
Merge ssh://master.kernel.org/home/hpa/tree/sec
* ssh://master.kernel.org/home/hpa/tree/sec:
x86-64, compat: Retruncate rax after ia32 syscall entry tracing
x86-64, compat: Test %rax for the syscall number, not %eax
compat: Make compat_alloc_user_space() incorporate the access_ok()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 9ddc8780e8db..5778b559d59c 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -360,5 +360,8 @@ extern ssize_t compat_rw_copy_check_uvector(int type, const struct compat_iovec __user *uvector, unsigned long nr_segs, unsigned long fast_segs, struct iovec *fast_pointer, struct iovec **ret_pointer); + +extern void __user *compat_alloc_user_space(unsigned long len); + #endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */ |