From: deraadt Date: Tue, 7 Aug 2018 15:07:54 +0000 (+0000) Subject: UNVEIL_* flags defined elsewhere in a .h file X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f306e94ad5082fe9b94333d5e26ae0839b33bdf5;p=openbsd UNVEIL_* flags defined elsewhere in a .h file --- 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) {