Al Viro
8298525839
kill strlen_user()
...
no callers, no consistent semantics, no sane way to use it...
Signed-off-by: Al Viro <[email protected] >
2017-05-15 23:40:22 -04:00
Al Viro
dc14253523
score: switch to RAW_COPY_USER
...
... and kill copy_in_user() - it's not a biarch architecture, to start with
Signed-off-by: Al Viro <[email protected] >
2017-03-28 18:23:58 -04:00
Al Viro
4b4554f6d5
score: it's "VERIFY_WRITE", not "VERFITY_WRITE"...
...
... and the only reason it worked is that access_ok() discards the
first argument before parser even gets a chance of looking at it.
Still, no point keeping that typo.
Signed-off-by: Al Viro <[email protected] >
2017-03-28 18:23:57 -04:00
Al Viro
af1d5b37d6
uaccess: drop duplicate includes from asm/uaccess.h
...
Signed-off-by: Al Viro <[email protected] >
2017-03-05 21:57:49 -05:00
Al Viro
5e6039d8a3
uaccess: move VERIFY_{READ,WRITE} definitions to linux/uaccess.h
...
Signed-off-by: Al Viro <[email protected] >
2017-03-05 20:40:25 -05:00
Al Viro
88dd4a748d
score: separate extable.h, switch module.h to it
...
Signed-off-by: Al Viro <[email protected] >
2016-10-05 18:38:39 -04:00
Al Viro
b615e3c746
score: fix copy_from_user() and friends
...
Cc: [email protected]
Signed-off-by: Al Viro <[email protected] >
2016-09-13 17:50:14 -04:00
Al Viro
c2f18fa4cb
score: fix __get_user/get_user
...
* should zero on any failure
* __get_user() should use __copy_from_user(), not copy_from_user()
Cc: [email protected]
Signed-off-by: Al Viro <[email protected] >
2016-09-13 17:50:13 -04:00
David Hildenbrand
b3c395ef55
mm/uaccess, mm/fault: Clarify that uaccess may only sleep if pagefaults are enabled
...
In general, non-atomic variants of user access functions must not sleep
if pagefaults are disabled.
Let's update all relevant comments in uaccess code. This also reflects
the might_sleep() checks in might_fault().
Reviewed-and-tested-by: Thomas Gleixner <[email protected] >
Signed-off-by: David Hildenbrand <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Cc: [email protected]
Cc: Linus Torvalds <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2015-05-19 08:39:14 +02:00
Chen Liqin
ffa818b4b0
score: update inconsistent declare after .c was changed
2009-08-30 12:30:16 +08:00
Arnd Bergmann
a1f8213b95
score: add address space annotations
...
Annotate the address space for pointers that are used
correctly with __user and __iomem, so that sparse
can better warn about incorrect casts.
Signed-off-by: Arnd Bergmann <[email protected] >
2009-06-27 15:09:52 +02:00
Chen Liqin
6bc9a3966f
score: Add support for Sunplus S+core architecture
...
This is the complete set of new arch Score's files for linux.
Score instruction set support 16bits, 32bits and 64bits instruction,
Score SOC had been used in game machine and LCD TV.
Signed-off-by: Chen Liqin <[email protected] >
Signed-off-by: Arnd Bergmann <[email protected] >
2009-06-19 11:38:47 +02:00