mirror of
https://github.com/openbsd/src.git
synced 2025-01-03 06:45:37 -08:00
tame "stdio rpath" works fine, as long as we sidestep the demangling
process which involves fork+execve.... ok doug
This commit is contained in:
parent
fc0cd8cb94
commit
9b85ddacc7
@ -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 @@ main(int argc, char *argv[])
|
||||
posix_radix, posix_radix);
|
||||
if (demangle)
|
||||
pipe2cppfilt();
|
||||
|
||||
if (tame("stdio rpath", NULL) == -1)
|
||||
err(1, "tame");
|
||||
|
||||
argv += optind;
|
||||
argc -= optind;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user