Home
last modified time | relevance | path

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

/openbsd/src/sys/sys/
Dpledge.h42 #define PLEDGE_PROTEXEC 0x0000000000008000ULL /* allow use of PROT_EXEC */ macro
96 { PLEDGE_PROTEXEC, "prot_exec" },
/openbsd/src/sys/kern/
Dkern_pledge.c389 { "prot_exec", PLEDGE_PROTEXEC },
1618 if (!(p->p_p->ps_pledge & PLEDGE_PROTEXEC) && (prot & PROT_EXEC)) in pledge_protexec()
1619 return pledge_fail(p, EPERM, PLEDGE_PROTEXEC); in pledge_protexec()