summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-04-27 13:48:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-04-27 13:48:07 +0000
commit04c4247c60d69370c7af59b160eb8e607b41942a (patch)
tree90a3e82c7b9a222525a4f60098345e045d6ec8de /usr.bin/file
parentdffd674720a8ac28b08b83b30e20cc9eff0d8bce (diff)
Add a _file user and use for privsep, ok deraadt
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/file/file.h b/usr.bin/file/file.h
index 81dcf64d7e2..5e70f4ea4e4 100644
--- a/usr.bin/file/file.h
+++ b/usr.bin/file/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.27 2015/04/27 13:41:45 nicm Exp $ */
+/* $OpenBSD: file.h,v 1.28 2015/04/27 13:48:06 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -23,7 +23,7 @@
#define FILE_READ_SIZE (256 * 1024)
/* User to drop privileges to in child process. */
-#define FILE_USER "nobody"
+#define FILE_USER "_file"
/* text.c */
const char *text_get_type(const void *, size_t);