diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-07-16 14:28:18 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-07-16 14:28:18 +0000 |
commit | ad1ffeeb4b8a805be041727880589fbb6d4009aa (patch) | |
tree | 4a7017c0b1313a927c8e87d4853837adf3d03369 | |
parent | 002f5a698f6f7695d01ed87d0ca595602d773f09 (diff) |
link translation for linux emulation, too.
-rw-r--r-- | bin/systrace/register.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/systrace/register.c b/bin/systrace/register.c index 696db592a57..053e1a4c69e 100644 --- a/bin/systrace/register.c +++ b/bin/systrace/register.c @@ -1,4 +1,4 @@ -/* $OpenBSD: register.c,v 1.5 2002/07/16 14:24:59 provos Exp $ */ +/* $OpenBSD: register.c,v 1.6 2002/07/16 14:28:17 provos Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -172,6 +172,9 @@ systrace_initcb(void) X(intercept_register_sccb("linux", "symlink", trans_cb, NULL)); intercept_register_transstring("linux", "symlink", 0); intercept_register_translink("linux", "symlink", 1); + X(intercept_register_sccb("linux", "link", trans_cb, NULL)); + intercept_register_translink("linux", "link", 0); + intercept_register_translink("linux", "link", 1); X(intercept_register_sccb("linux", "readlink", trans_cb, NULL)); tl = intercept_register_translink("linux", "readlink", 0); alias = systrace_new_alias("linux", "readlink", "linux", "fsread"); |