Searched refs:KUAP_NONE (Results 1 – 2 of 2) sorted by relevance
25 #define KUAP_NONE (~0UL) macro89 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 …]
1797 p->thread.kuap = KUAP_NONE; in copy_thread()