Searched refs:prevent_user_access (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kup.h | 76 static inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access() function 101 prevent_user_access(NULL, from, size, KUAP_READ); in prevent_read_from_user() 106 prevent_user_access(to, NULL, size, KUAP_WRITE); in prevent_write_to_user() 112 prevent_user_access(to, from, size, KUAP_READ_WRITE); in prevent_read_write_user() 117 prevent_user_access(NULL, NULL, ~0UL, KUAP_CURRENT); in prevent_current_access_user() 122 prevent_user_access(NULL, NULL, ~0UL, KUAP_CURRENT_READ); in prevent_current_read_from_user() 127 prevent_user_access(NULL, NULL, ~0UL, KUAP_CURRENT_WRITE); in prevent_current_write_to_user()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
D | kup.h | 128 static __always_inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access() function 165 prevent_user_access(to, to, end - addr, KUAP_READ_WRITE); in prevent_user_access_return()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
D | kup-8xx.h | 43 static inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access() function
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | kup-radix.h | 178 static inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access() function
|