summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-08-10 00:21:49 +0000
committerguenther <guenther@openbsd.org>2014-08-10 00:21:49 +0000
commit42aeb2373b012d1524984b44cefb5d3edb126f5f (patch)
tree20637c40b7c5a3ce9647c67162a1e87605278c31
parentAdd newer errnos (diff)
downloadwireguard-openbsd-42aeb2373b012d1524984b44cefb5d3edb126f5f.tar.xz
wireguard-openbsd-42aeb2373b012d1524984b44cefb5d3edb126f5f.zip
Add F_DUPFD_CLOEXEC handling
-rw-r--r--bin/systrace/systrace-translate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/systrace/systrace-translate.c b/bin/systrace/systrace-translate.c
index 24c6296e9cc..ca6afdec094 100644
--- a/bin/systrace/systrace-translate.c
+++ b/bin/systrace/systrace-translate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace-translate.c,v 1.22 2007/06/06 15:14:49 henning Exp $ */
+/* $OpenBSD: systrace-translate.c,v 1.23 2014/08/10 00:21:49 guenther Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -382,6 +382,9 @@ print_fcntlcmd(char *buf, size_t buflen, struct intercept_translate *tl)
case F_DUPFD:
name = "F_DUPFD";
break;
+ case F_DUPFD_CLOEXEC:
+ name = "F_DUPFD_CLOEXEC";
+ break;
case F_GETFD:
name = "F_GETFD";
break;