Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/procctl.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
#define PROC_PROTMAX_CTL 15 /* en/dis implicit PROT_MAX */ | #define PROC_PROTMAX_CTL 15 /* en/dis implicit PROT_MAX */ | ||||
#define PROC_PROTMAX_STATUS 16 /* query implicit PROT_MAX status */ | #define PROC_PROTMAX_STATUS 16 /* query implicit PROT_MAX status */ | ||||
#define PROC_STACKGAP_CTL 17 /* en/dis stack gap on MAP_STACK */ | #define PROC_STACKGAP_CTL 17 /* en/dis stack gap on MAP_STACK */ | ||||
#define PROC_STACKGAP_STATUS 18 /* query stack gap */ | #define PROC_STACKGAP_STATUS 18 /* query stack gap */ | ||||
#define PROC_NO_NEW_PRIVS_CTL 19 /* disable setuid/setgid */ | #define PROC_NO_NEW_PRIVS_CTL 19 /* disable setuid/setgid */ | ||||
#define PROC_NO_NEW_PRIVS_STATUS 20 /* query suid/sgid disabled status */ | #define PROC_NO_NEW_PRIVS_STATUS 20 /* query suid/sgid disabled status */ | ||||
#define PROC_WXMAP_CTL 21 /* control W^X */ | #define PROC_WXMAP_CTL 21 /* control W^X */ | ||||
#define PROC_WXMAP_STATUS 22 /* query W^X */ | #define PROC_WXMAP_STATUS 22 /* query W^X */ | ||||
#define PROC_SIGCAP_CTL 23 /* signal on capability errors */ | |||||
#define PROC_SIGCAP_STATUS 24 /* query signal on capability status */ | |||||
/* Operations for PROC_SPROTECT (passed in integer arg). */ | /* Operations for PROC_SPROTECT (passed in integer arg). */ | ||||
#define PPROT_OP(x) ((x) & 0xf) | #define PPROT_OP(x) ((x) & 0xf) | ||||
#define PPROT_SET 1 | #define PPROT_SET 1 | ||||
#define PPROT_CLEAR 2 | #define PPROT_CLEAR 2 | ||||
/* Flags for PROC_SPROTECT (ORed in with operation). */ | /* Flags for PROC_SPROTECT (ORed in with operation). */ | ||||
#define PPROT_FLAGS(x) ((x) & ~0xf) | #define PPROT_FLAGS(x) ((x) & ~0xf) | ||||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
#define REAPER_KILL_SUBTREE 0x00000002 | #define REAPER_KILL_SUBTREE 0x00000002 | ||||
#define PROC_TRACE_CTL_ENABLE 1 | #define PROC_TRACE_CTL_ENABLE 1 | ||||
#define PROC_TRACE_CTL_DISABLE 2 | #define PROC_TRACE_CTL_DISABLE 2 | ||||
#define PROC_TRACE_CTL_DISABLE_EXEC 3 | #define PROC_TRACE_CTL_DISABLE_EXEC 3 | ||||
#define PROC_TRAPCAP_CTL_ENABLE 1 | #define PROC_TRAPCAP_CTL_ENABLE 1 | ||||
#define PROC_TRAPCAP_CTL_DISABLE 2 | #define PROC_TRAPCAP_CTL_DISABLE 2 | ||||
#define PROC_TRAPCAP_CTL_ENABLE_SIGTRAP PROC_TRAPCAP_CTL_ENABLE | |||||
#define PROC_TRAPCAP_CTL_ENABLE_SIGCAP (PROC_TRAPCAP_CTL_ENABLE | 4) | |||||
#define PROC_ASLR_FORCE_ENABLE 1 | #define PROC_ASLR_FORCE_ENABLE 1 | ||||
#define PROC_ASLR_FORCE_DISABLE 2 | #define PROC_ASLR_FORCE_DISABLE 2 | ||||
#define PROC_ASLR_NOFORCE 3 | #define PROC_ASLR_NOFORCE 3 | ||||
#define PROC_ASLR_ACTIVE 0x80000000 | #define PROC_ASLR_ACTIVE 0x80000000 | ||||
#define PROC_PROTMAX_FORCE_ENABLE 1 | #define PROC_PROTMAX_FORCE_ENABLE 1 | ||||
#define PROC_PROTMAX_FORCE_DISABLE 2 | #define PROC_PROTMAX_FORCE_DISABLE 2 | ||||
Show All 23 Lines |