Searched refs:PR_SPEC_ENABLE (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.1/Documentation/userspace-api/ |
| D | spec_ctrl.rst | 36 1 PR_SPEC_ENABLE The speculation feature is enabled, mitigation is 41 subsequent prctl(..., PR_SPEC_ENABLE) will fail. 59 in the control value, i.e. either PR_SPEC_ENABLE or PR_SPEC_DISABLE or 80 ERANGE arg3 is incorrect, i.e. it's neither PR_SPEC_ENABLE nor 96 * prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_ENABLE, 0, 0); 106 * prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_INDIRECT_BRANCH, PR_SPEC_ENABLE, 0, 0); 115 * prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_L1D_FLUSH, PR_SPEC_ENABLE, 0, 0);
|
| /Linux-v6.1/arch/x86/kernel/cpu/ |
| D | bugs.c | 1849 case PR_SPEC_ENABLE: in l1d_flush_prctl_set() 1867 case PR_SPEC_ENABLE: in ssb_prctl_set() 1910 case PR_SPEC_ENABLE: in ib_prctl_set() 1993 return PR_SPEC_PRCTL | PR_SPEC_ENABLE; in l1d_flush_prctl_get() 2011 return PR_SPEC_PRCTL | PR_SPEC_ENABLE; in ssb_prctl_get() 2014 return PR_SPEC_ENABLE; in ssb_prctl_get() 2026 return PR_SPEC_ENABLE; in ib_prctl_get() 2032 return PR_SPEC_PRCTL | PR_SPEC_ENABLE; in ib_prctl_get()
|
| /Linux-v6.1/tools/include/uapi/linux/ |
| D | prctl.h | 220 # define PR_SPEC_ENABLE (1UL << 1) macro
|
| /Linux-v6.1/include/uapi/linux/ |
| D | prctl.h | 220 # define PR_SPEC_ENABLE (1UL << 1) macro
|
| /Linux-v6.1/arch/arm64/kernel/ |
| D | proton-pack.c | 703 case PR_SPEC_ENABLE: in ssbd_prctl_set() 791 return PR_SPEC_ENABLE; in ssbd_prctl_get() 804 return PR_SPEC_PRCTL | PR_SPEC_ENABLE; in ssbd_prctl_get()
|
| D | process.c | 652 PR_SPEC_ENABLE); in arch_setup_new_exec()
|
| /Linux-v6.1/fs/proc/ |
| D | array.c | 359 case PR_SPEC_PRCTL | PR_SPEC_ENABLE: in task_seccomp() 384 case PR_SPEC_PRCTL | PR_SPEC_ENABLE: in task_seccomp() 387 case PR_SPEC_ENABLE: in task_seccomp()
|
| /Linux-v6.1/arch/powerpc/kernel/ |
| D | security.c | 384 return PR_SPEC_ENABLE; in ssb_prctl_get()
|