diff options
author | 2002-08-05 14:26:07 +0000 | |
---|---|---|
committer | 2002-08-05 14:26:07 +0000 | |
commit | 3a28de52f3ff426e63e149f4d2c9cf98eaed21bf (patch) | |
tree | d280b0e9caa4377f7ad277f09054d2dff8986b4e | |
parent | move a few birthdays to the .birthday as pt out by pjanzen@; add a few more (diff) | |
download | wireguard-openbsd-3a28de52f3ff426e63e149f4d2c9cf98eaed21bf.tar.xz wireguard-openbsd-3a28de52f3ff426e63e149f4d2c9cf98eaed21bf.zip |
different translation for lstat
-rw-r--r-- | bin/systrace/register.c | 5 |
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); |