diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-03-30 15:22:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-03-30 15:22:08 +0000 |
commit | 198f4fa53cc87afe0bbd0d87e1df4a8458ee591b (patch) | |
tree | dc1ac93e96d7add6fbb2e5c0a95f14aada0d7ed5 /sys/kern | |
parent | 208f1d1ecea4cb148c92d7c297bd484150622ebe (diff) |
correct NBPFILTER #ifdef's
from sthen and others
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_pledge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 6192797ec1c..dfa3d23d1f6 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.200 2017/03/28 16:03:31 bluhm Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.201 2017/03/30 15:22:07 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -1137,7 +1137,7 @@ pledge_ioctl(struct proc *p, long com, struct file *fp) } } -#if BPFFILTER > 0 +#if NBPFILTER > 0 if ((p->p_p->ps_pledge & PLEDGE_BPF)) { switch (com) { case BIOCGSTATS: /* bpf: tcpdump privsep on ^C */ @@ -1147,7 +1147,7 @@ pledge_ioctl(struct proc *p, long com, struct file *fp) break; } } -#endif /* BPFFILTER > 0 */ +#endif /* NBPFILTER > 0 */ if ((p->p_p->ps_pledge & PLEDGE_TAPE)) { switch (com) { |