Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/systrace fix bug in determining execve name
details: https://anonhg.NetBSD.org/src/rev/0d5fba8c2952
branches: trunk
changeset: 538806:0d5fba8c2952
user: provos <provos%NetBSD.org@localhost>
date: Wed Oct 30 17:39:34 2002 +0000
description:
fix bug in determining execve name
diffstat:
bin/systrace/intercept.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 27000d9263e7 -r 0d5fba8c2952 bin/systrace/intercept.c
--- a/bin/systrace/intercept.c Wed Oct 30 17:02:14 2002 +0000
+++ b/bin/systrace/intercept.c Wed Oct 30 17:39:34 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intercept.c,v 1.9 2002/10/17 04:45:04 provos Exp $ */
+/* $NetBSD: intercept.c,v 1.10 2002/10/30 17:39:34 provos Exp $ */
/* $OpenBSD: intercept.c,v 1.29 2002/08/28 03:30:27 itojun Exp $ */
/*
* Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -30,7 +30,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: intercept.c,v 1.9 2002/10/17 04:45:04 provos Exp $");
+__RCSID("$NetBSD: intercept.c,v 1.10 2002/10/30 17:39:34 provos Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -701,7 +701,7 @@
free(icpid->newname);
intercept.getarg(0, args, argsize, &addr);
- argname = intercept_filename(fd, pid, addr, 0);
+ argname = intercept_filename(fd, pid, addr, ICLINK_ALL);
if (argname == NULL)
err(1, "%s:%d: intercept_filename",
__func__, __LINE__);
Home |
Main Index |
Thread Index |
Old Index