-/* $OpenBSD: kern_pledge.c,v 1.42 2015/10/17 04:31:10 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.43 2015/10/17 22:54:23 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
[SYS_vfork] = PLEDGE_PROC,
[SYS_setpgid] = PLEDGE_PROC,
[SYS_setsid] = PLEDGE_PROC,
- [SYS_kill] = PLEDGE_SELF | PLEDGE_PROC,
+ [SYS_kill] = PLEDGE_SELF | PLEDGE_PROC,
[SYS_setrlimit] = PLEDGE_PROC | PLEDGE_ID,
[SYS_getpriority] = PLEDGE_PROC | PLEDGE_ID,
break;
}
- /* ensure PLEDGE_RPATH request for doing read */
+ /* ensure PLEDGE_RPATH request for doing read */
if ((p->p_pledgenote & TMN_RPATH) &&
(p->p_p->ps_pledge & PLEDGE_RPATH) == 0)
return (pledge_fail(p, EPERM, PLEDGE_RPATH));
if (p->p_p->ps_pledge & PLEDGE_MCAST)
return (0);
break;
- }
+ }
break;
case IPPROTO_ICMP:
break;