Home
last modified time | relevance | path

Searched refs:PLEDGE_PROC (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/sys/kern/
Dkern_pledge.c268 [SYS_fork] = PLEDGE_PROC,
269 [SYS_vfork] = PLEDGE_PROC,
270 [SYS_setpgid] = PLEDGE_PROC,
271 [SYS_setsid] = PLEDGE_PROC,
273 [SYS_setrlimit] = PLEDGE_PROC | PLEDGE_ID,
274 [SYS_getpriority] = PLEDGE_PROC | PLEDGE_ID,
276 [SYS_setpriority] = PLEDGE_PROC | PLEDGE_ID,
388 { "proc", PLEDGE_PROC },
1267 if ((pledge & PLEDGE_PROC) == 0) in pledge_ioctl()
1583 if ((p->p_p->ps_pledge & PLEDGE_PROC) == 0 && cmd == F_SETOWN) in pledge_fcntl()
[all …]
Dkern_event.c346 (curproc->p_p->ps_pledge & PLEDGE_PROC) == 0) in filt_procattach()
347 return pledge_fail(curproc, EPERM, PLEDGE_PROC); in filt_procattach()
/openbsd/src/sys/sys/
Dpledge.h39 #define PLEDGE_PROC 0x0000000000001000ULL /* fork, waitpid, etc */ macro
94 { PLEDGE_PROC, "proc" },