From f306e94ad5082fe9b94333d5e26ae0839b33bdf5 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 7 Aug 2018 15:07:54 +0000 Subject: [PATCH] UNVEIL_* flags defined elsewhere in a .h file --- sys/kern/kern_unveil.c | 7 +------ 1 file changed, 1 insertion(+), 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 @@ -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) { -- 2.20.1