diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-07-10 07:05:39 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-07-10 07:05:39 +0000 |
commit | 091694c2fbaad9313bc33c297464ac610759ff27 (patch) | |
tree | cc44d6d372d10e50301ce6930c6e9040b4926c09 | |
parent | 43a951c2c004c24c54dcce11fecc2018d6273dbd (diff) |
add fchmod translation
-rw-r--r-- | bin/systrace/systrace.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/systrace/systrace.c b/bin/systrace/systrace.c index f9870c8850d..a80944e1733 100644 --- a/bin/systrace/systrace.c +++ b/bin/systrace/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.23 2002/07/10 07:05:02 provos Exp $ */ +/* $OpenBSD: systrace.c,v 1.24 2002/07/10 07:05:38 provos Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -371,6 +371,9 @@ systrace_initcb(void) X(intercept_register_sccb("native", "chmod", trans_cb, NULL)); intercept_register_transfn("native", "chmod", 0); intercept_register_translation("native", "chmod", 1, &modeflags); + X(intercept_register_sccb("native", "fchmod", trans_cb, NULL)); + intercept_register_translation("native", "fchmod", 0, &fdt); + intercept_register_translation("native", "fchmod", 1, &modeflags); X(intercept_register_sccb("native", "readlink", trans_cb, NULL)); tl = intercept_register_translink("native", "readlink", 0); alias = systrace_new_alias("native", "readlink", "native", "fsread"); |