summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-08-05 14:26:08 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-08-05 14:26:08 +0000
commit1161c35a79555cfdf4de2153371dec78c76e4922 (patch)
tree3756168fb195f3c1282f167ebca29a571a38af4c /bin
parent930e071d7f67bd0c94865aea442118a691161a0c (diff)
different translation for lstat
Diffstat (limited to 'bin')
-rw-r--r--bin/systrace/register.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/systrace/register.c b/bin/systrace/register.c
index 263eadd203c..eab911dc60b 100644
--- a/bin/systrace/register.c
+++ b/bin/systrace/register.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: register.c,v 1.9 2002/08/01 20:16:45 provos Exp $ */
+/* $OpenBSD: register.c,v 1.10 2002/08/05 14:26:07 provos Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -76,7 +76,8 @@ systrace_initcb(void)
systrace_alias_add_trans(alias, tl);
X(intercept_register_sccb("native", "lstat", trans_cb, NULL));
- tl = intercept_register_translink("native", "lstat", 0);
+ tl = intercept_register_translation("native", "lstat", 0,
+ &ic_translate_unlinkname);
alias = systrace_new_alias("native", "lstat", "native", "fsread");
systrace_alias_add_trans(alias, tl);