aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-04 22:55:44 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-05 01:32:30 -0500
commit7238cb1a6077705cfb585ddedbdabf5ebf38201e (patch)
tree3ec53949fbd8e095ef4160927a51e1ee008e4be2 /libsandbox/wrapper-funcs
parentsupport the OpenSolaris toolchain (diff)
downloadsandbox-7238cb1a6077705cfb585ddedbdabf5ebf38201e.tar.gz
sandbox-7238cb1a6077705cfb585ddedbdabf5ebf38201e.tar.bz2
sandbox-7238cb1a6077705cfb585ddedbdabf5ebf38201e.zip
libsandbox: add _xmknod wrapper point for __xmknod
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/wrapper-funcs')
-rw-r--r--libsandbox/wrapper-funcs/_xmknod.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libsandbox/wrapper-funcs/_xmknod.c b/libsandbox/wrapper-funcs/_xmknod.c
new file mode 100644
index 0000000..b60c716
--- /dev/null
+++ b/libsandbox/wrapper-funcs/_xmknod.c
@@ -0,0 +1,11 @@
+/*
+ * _xmknod() wrapper.
+ *
+ * Copyright 1999-2008 Gentoo Foundation
+ * Licensed under the GPL-2
+ */
+
+#define WRAPPER_ARGS_PROTO const int ver, const char *pathname, mode_t mode, dev_t dev
+#define WRAPPER_ARGS ver, pathname, mode, dev
+#define WRAPPER_SAFE() FUNCTION_SANDBOX_SAFE(pathname)
+#include "__wrapper_simple.c"