Home
last modified time | relevance | path

Searched refs:KUAP_NONE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/powerpc/include/asm/book3s/32/
Dkup.h25 #define KUAP_NONE (~0UL) macro
89 if (unlikely(kuap == KUAP_NONE)) in __kuap_save_and_lock()
92 current->thread.kuap = KUAP_NONE; in __kuap_save_and_lock()
102 if (unlikely(kuap != KUAP_NONE)) { in __kuap_kernel_restore()
103 current->thread.kuap = KUAP_NONE; in __kuap_kernel_restore()
107 if (likely(regs->kuap == KUAP_NONE)) in __kuap_kernel_restore()
119 WARN_ON_ONCE(IS_ENABLED(CONFIG_PPC_KUAP_DEBUG) && kuap != KUAP_NONE); in __kuap_get_and_assert_locked()
145 current->thread.kuap = KUAP_NONE; in __prevent_user_access()
153 if (flags != KUAP_NONE) { in __prevent_user_access_return()
154 current->thread.kuap = KUAP_NONE; in __prevent_user_access_return()
[all …]
/linux-6.1.9/arch/powerpc/kernel/
Dprocess.c1797 p->thread.kuap = KUAP_NONE; in copy_thread()