summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2017-06-04 17:03:39 +0000
committertb <tb@openbsd.org>2017-06-04 17:03:39 +0000
commitb3761217534b5b755eebc9fbd451279f4a11a335 (patch)
tree34870eeae11f2ae41b3757616ded7fe1b2ee8b04
parentDo not leak command, from David CARLIER. (diff)
downloadwireguard-openbsd-b3761217534b5b755eebc9fbd451279f4a11a335.tar.xz
wireguard-openbsd-b3761217534b5b755eebc9fbd451279f4a11a335.zip
Create gap.* with umask 007 instead of 077 to make kernel builds after
make release work without prior cleanup. discussed with deraadt
-rw-r--r--sys/arch/amd64/conf/Makefile.amd646
-rw-r--r--sys/arch/arm64/conf/Makefile.arm646
-rw-r--r--sys/arch/i386/conf/Makefile.i3866
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index cc74af32faa..37468abbe1e 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.78 2017/06/03 22:21:33 deraadt Exp $
+# $OpenBSD: Makefile.amd64,v 1.79 2017/06/04 17:03:39 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -127,10 +127,10 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
gap.S: ${SYSTEM_SWAP_DEP} Makefile
- umask 077; sh $S/conf/makegap.sh 0xcc > gap.S
+ umask 007; sh $S/conf/makegap.sh 0xcc > gap.S
gap.o: gap.S
- umask 077; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
+ umask 007; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
clean:
rm -f *bsd *bsd.gdb *.[dio] [a-z]*.s assym.* ${DB_STRUCTINFO} \
diff --git a/sys/arch/arm64/conf/Makefile.arm64 b/sys/arch/arm64/conf/Makefile.arm64
index 233e3956cf9..1fdae6d4214 100644
--- a/sys/arch/arm64/conf/Makefile.arm64
+++ b/sys/arch/arm64/conf/Makefile.arm64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arm64,v 1.7 2017/06/04 14:10:42 patrick Exp $
+# $OpenBSD: Makefile.arm64,v 1.8 2017/06/04 17:03:39 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -128,10 +128,10 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
gap.S: ${SYSTEM_SWAP_DEP} Makefile
- umask 077; sh $S/conf/makegap.sh 0xd4 > gap.S
+ umask 007; sh $S/conf/makegap.sh 0xd4 > gap.S
gap.o: gap.S
- umask 077; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
+ umask 007; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
clean:
rm -f *bsd *bsd.gdb *.[dio] [a-z]*.s assym.* ${DB_STRUCTINFO} \
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index f6c4e3e9112..641de19221d 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.105 2017/06/03 22:21:33 deraadt Exp $
+# $OpenBSD: Makefile.i386,v 1.106 2017/06/04 17:03:39 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -128,10 +128,10 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
gap.S: ${SYSTEM_SWAP_DEP} Makefile
- umask 077; sh $S/conf/makegap.sh 0xcc > gap.S
+ umask 007; sh $S/conf/makegap.sh 0xcc > gap.S
gap.o: gap.S
- umask 077; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
+ umask 007; ${CC} ${AFLAGS} ${CPPFLAGS} ${PROF} -c gap.S
clean:
rm -f *bsd *bsd.gdb *.[dio] [a-z]*.s assym.* ${DB_STRUCTINFO} \