=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nm/nm.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- src/usr.bin/nm/nm.c 2015/08/13 19:13:28 1.47 +++ src/usr.bin/nm/nm.c 2015/10/05 07:16:03 1.48 @@ -1,4 +1,4 @@ -/* $OpenBSD: nm.c,v 1.47 2015/08/13 19:13:28 miod Exp $ */ +/* $OpenBSD: nm.c,v 1.48 2015/10/05 07:16:03 deraadt Exp $ */ /* $NetBSD: nm.c,v 1.7 1996/01/14 23:04:03 pk Exp $ */ /* @@ -211,6 +211,10 @@ posix_radix, posix_radix); if (demangle) pipe2cppfilt(); + + if (tame("stdio rpath", NULL) == -1) + err(1, "tame"); + argv += optind; argc -= optind;