Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A 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()
1593 if (p->p_p->ps_pledge & PLEDGE_PROC) in pledge_kill()
[all …]
H A 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/sys/sys/
H A Dpledge.h39 #define PLEDGE_PROC 0x0000000000001000ULL /* fork, waitpid, etc */ macro
94 { PLEDGE_PROC, "proc" },
/openbsd/sys/dev/vmm/
H A Dvmm.c188 (PLEDGE_VMM | PLEDGE_PROC)) == PLEDGE_VMM) && in vm_find()
294 if (p->p_p->ps_pledge & PLEDGE_PROC) in pledge_ioctl_vmm()