Commit d97a291a authored by Linus Torvalds's avatar Linus Torvalds

User pointers are not just in another address space, they also

must never be dereferenced directly. Make that clear in the
attribute.
parent 34bf22f4
......@@ -2,7 +2,7 @@
#define __LINUX_COMPILER_H
#ifdef __CHECKER__
#define __user __attribute__((address_space(1)))
#define __user __attribute__((noderef, address_space(1)))
#define __kernel /* default address space */
#else
#define __user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment