From: deraadt Date: Fri, 23 Oct 2015 13:21:10 +0000 (+0000) Subject: getnameinfo() no longer needs pledge "route". this drops to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=031fb675d6db397d673cabd5b9d053c7ee82bff6;p=openbsd getnameinfo() no longer needs pledge "route". this drops to pledge "stdio rpath". --- 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"); }