summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/fcntl--.h3
-rw-r--r--lib/unistd-safer.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/fcntl--.h b/lib/fcntl--.h
index 4d8e84959..51b869e68 100644
--- a/lib/fcntl--.h
+++ b/lib/fcntl--.h
@@ -23,3 +23,6 @@
#undef open
#define open open_safer
+
+#undef creat
+#define creat creat_safer
diff --git a/lib/unistd-safer.h b/lib/unistd-safer.h
index 1b7a7601a..f95999d39 100644
--- a/lib/unistd-safer.h
+++ b/lib/unistd-safer.h
@@ -20,3 +20,4 @@
int dup_safer (int);
int fd_safer (int);
+int pipe_safer (int[2]);