summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-07 15:07:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-07 15:07:55 +0000
commit838305871f6af3a1ee5cc4c11a39c09a95aee9a7 (patch)
treea92ca1b049b7ec2ece802996dc3f042484d7235c /sys
parent1ed28f9cea999b89eb40078d22ae1a87a4be3024 (diff)
UNVEIL_* flags defined elsewhere in a .h file
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_unveil.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/kern_unveil.c b/sys/kern/kern_unveil.c
index a89f0b29514..45dd646febc 100644
--- a/sys/kern/kern_unveil.c
+++ b/sys/kern/kern_unveil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_unveil.c,v 1.11 2018/08/05 14:23:57 beck Exp $ */
+/* $OpenBSD: kern_unveil.c,v 1.12 2018/08/07 15:07:54 deraadt Exp $ */
/*
* Copyright (c) 2017-2018 Bob Beck <beck@openbsd.org>
@@ -40,11 +40,6 @@
#define UNVEIL_MAX_VNODES 128
#define UNVEIL_MAX_NAMES 128
-#define UNVEIL_READ 0x01
-#define UNVEIL_WRITE 0x02
-#define UNVEIL_CREATE 0x04
-#define UNVEIL_EXEC 0x08
-
static inline int
unvname_compare(const struct unvname *n1, const struct unvname *n2)
{