Searched refs:pledge_fail (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/sys/kern/
H A Dkern_pledge.c558 pledge_fail(struct proc *p, int error, uint64_t code) function
675 return (EPERM); /* don't call pledge_fail */
746 return (pledge_fail(p, EPERM, (ni->ni_pledge & ~pledge)));
763 return pledge_fail(p, EPERM, PLEDGE_RECVFD);
777 return pledge_fail(p, EINVAL, PLEDGE_RECVFD);
791 return pledge_fail(p, EPERM, PLEDGE_SENDFD);
806 return pledge_fail(p, EINVAL, PLEDGE_SENDFD);
821 return pledge_fail(p, EFAULT, 0);
1010 return pledge_fail(p, EINVAL, 0);
1054 return pledge_fail(
[all...]
H A Dkern_event.c330 return pledge_fail(curproc, EPERM, PLEDGE_PROC);
/openbsd-current/sys/sys/
H A Dpledge.h121 int pledge_fail(struct proc *, int, uint64_t);
H A Dsyscall_mi.h173 error = pledge_fail(p, error, tval);
/openbsd-current/sys/dev/vmm/
H A Dvmm.c202 return (pledge_fail(p, EPERM, PLEDGE_VMM));

Completed in 114 milliseconds