diff options
| author | Arnd Bergmann <[email protected]> | 2022-02-15 16:59:41 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2022-02-25 08:36:05 +0000 |
| commit | 26509034bef198525d5936c116cbd0c3fa491c0b (patch) | |
| tree | b79eb6f6559b81f8c2fa5fd5cf5318798063ef7c /lib/strncpy_from_user.c | |
| parent | MIPS: use simpler access_ok() (diff) | |
| download | kernel-26509034bef198525d5936c116cbd0c3fa491c0b.tar.gz kernel-26509034bef198525d5936c116cbd0c3fa491c0b.zip | |
m68k: fix access_ok for coldfire
While most m68k platforms use separate address spaces for user
and kernel space, at least coldfire does not, and the other
ones have a TASK_SIZE that is less than the entire 4GB address
range.
Using the default implementation of __access_ok() stops coldfire
user space from trivially accessing kernel memory.
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions
