From bd685d1ca9e548c3dca156ababbad2243739fc22 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 8 Aug 2018 22:57:12 +0000 Subject: [PATCH] mestre and I can find no reason why the pledge has "unix". Disable that and start listening for failure reports. --- usr.sbin/tcpdump/privsep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/tcpdump/privsep.c b/usr.sbin/tcpdump/privsep.c index da7e6694074..25de10c1d15 100644 --- a/usr.sbin/tcpdump/privsep.c +++ b/usr.sbin/tcpdump/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.47 2017/09/08 19:30:13 brynet Exp $ */ +/* $OpenBSD: privsep.c,v 1.48 2018/08/08 22:57:12 deraadt Exp $ */ /* * Copyright (c) 2003 Can Erkin Acar @@ -305,7 +305,7 @@ priv_exec(int argc, char *argv[]) test_state(cmd, STATE_RUN); impl_init_done(sock, &bpfd); - if (pledge("stdio rpath inet unix dns recvfd bpf", NULL) == -1) + if (pledge("stdio rpath inet dns recvfd bpf", NULL) == -1) err(1, "pledge"); break; -- 2.20.1