projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cffa2
)
kill __copy_in_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 25 May 2017 20:28:49 +0000
(16:28 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 4 Jul 2017 17:31:27 +0000
(13:31 -0400)
no users left
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uaccess.h
patch
|
blob
|
history
diff --git
a/include/linux/uaccess.h
b/include/linux/uaccess.h
index 201418d5e15c2b92dc7d7bc73b54f469eb488a35..97c93bc6f72ae7746f1d34d40f94faa789309d2a 100644
(file)
--- a/
include/linux/uaccess.h
+++ b/
include/linux/uaccess.h
@@
-180,12
+180,6
@@
copy_to_user(void __user *to, const void *from, unsigned long n)
}
#ifdef CONFIG_COMPAT
static __always_inline unsigned long __must_check
-__copy_in_user(void __user *to, const void *from, unsigned long n)
-{
- might_fault();
- return raw_copy_in_user(to, from, n);
-}
-static __always_inline unsigned long __must_check
copy_in_user(void __user *to, const void *from, unsigned long n)
{
might_fault();