From 031fb675d6db397d673cabd5b9d053c7ee82bff6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 23 Oct 2015 13:21:10 +0000 Subject: [PATCH] getnameinfo() no longer needs pledge "route". this drops to pledge "stdio rpath". --- usr.bin/fstat/fstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index bfc4d0f8e54..b625840a4d9 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.82 2015/10/12 14:09:32 deraadt Exp $ */ +/* $OpenBSD: fstat.c,v 1.83 2015/10/23 13:21:10 deraadt Exp $ */ /* * Copyright (c) 2009 Todd C. Miller @@ -284,7 +284,7 @@ main(int argc, char *argv[]) err(1, "pledge"); } } else { - if (pledge("stdio rpath route", NULL) == -1) + if (pledge("stdio rpath", NULL) == -1) err(1, "pledge"); } -- 2.20.1