summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/file.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-04-24 16:47:32 +0000
committernicm <nicm@openbsd.org>2015-04-24 16:47:32 +0000
commitcdd34c657193205e8680b74d7c2524cb81a091a7 (patch)
treeb25f359b5ffd76df306bc28020c07f90ced1cb12 /usr.bin/file/file.h
parentAdd a couple of missing spaces (style nits). (diff)
downloadwireguard-openbsd-cdd34c657193205e8680b74d7c2524cb81a091a7.tar.xz
wireguard-openbsd-cdd34c657193205e8680b74d7c2524cb81a091a7.zip
Trying to drop privileges means we can't handle ARG_MAX arguments, so
remove it for now.
Diffstat (limited to 'usr.bin/file/file.h')
-rw-r--r--usr.bin/file/file.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/file/file.h b/usr.bin/file/file.h
index 77b6e85da3c..8b433a4712d 100644
--- a/usr.bin/file/file.h
+++ b/usr.bin/file/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.25 2015/04/24 16:24:11 nicm Exp $ */
+/* $OpenBSD: file.h,v 1.26 2015/04/24 16:47:32 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -22,9 +22,6 @@
/* Bytes to read if can't use the whole file. */
#define FILE_READ_SIZE (256 * 1024)
-/* User to drop to if run as root. */
-#define FILE_USER "nobody"
-
/* text.c */
const char *text_get_type(const void *, size_t);
const char *text_try_words(const void *, size_t, int);