artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c02e5e
)
config -e mode should match our other policies which ensure og-rwx /bsd.
author
deraadt
<deraadt@openbsd.org>
Sat, 3 Jun 2017 23:31:37 +0000
(23:31 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 3 Jun 2017 23:31:37 +0000
(23:31 +0000)
pointed out by brynet
usr.sbin/config/exec_elf.c
patch
|
blob
|
history
diff --git
a/usr.sbin/config/exec_elf.c
b/usr.sbin/config/exec_elf.c
index
d682139
..
64c2ac5
100644
(file)
--- a/
usr.sbin/config/exec_elf.c
+++ b/
usr.sbin/config/exec_elf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: exec_elf.c,v 1.1
4 2015/09/25 03:17:02 guenther
Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.1
5 2017/06/03 23:31:37 deraadt
Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@
-140,7
+140,7
@@
savekernel(char *outfile)
{
int fd;
- if ((fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 07
55
)) < 0)
+ if ((fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 07
00
)) < 0)
err(1, "%s", outfile);
if (write(fd, elf_total, (size_t)elf_size) != elf_size)