From 1aee560f297f3283db39a8d74758cd00130d5f79 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 15 Jul 2014 22:14:38 +0000 Subject: mode 644 for installing these files --- sys/arch/amd64/stand/cdboot/Makefile | 3 ++- sys/arch/amd64/stand/cdbr/Makefile | 3 ++- sys/arch/amd64/stand/pxeboot/Makefile | 3 ++- sys/arch/i386/stand/cdboot/Makefile | 3 ++- sys/arch/i386/stand/cdbr/Makefile | 3 ++- sys/arch/i386/stand/pxeboot/Makefile | 3 ++- sys/arch/sparc64/stand/bootblk/Makefile | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'sys') diff --git a/sys/arch/amd64/stand/cdboot/Makefile b/sys/arch/amd64/stand/cdboot/Makefile index 075931de4a8..798e443e0f0 100644 --- a/sys/arch/amd64/stand/cdboot/Makefile +++ b/sys/arch/amd64/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.25 2014/07/13 21:18:44 jasper Exp $ +# $OpenBSD: Makefile,v 1.26 2014/07/15 22:14:37 deraadt Exp $ MAN= cdboot.8 @@ -13,6 +13,7 @@ SIZE?= size LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= +BINMODE=644 .PATH: ${SADIR}/libsa SRCS+= machdep.c dev_i386.c exec_i386.c cmd_i386.c diff --git a/sys/arch/amd64/stand/cdbr/Makefile b/sys/arch/amd64/stand/cdbr/Makefile index c304a652804..eee482b37aa 100644 --- a/sys/arch/amd64/stand/cdbr/Makefile +++ b/sys/arch/amd64/stand/cdbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2014/07/13 21:18:44 jasper Exp $ +# $OpenBSD: Makefile,v 1.9 2014/07/15 22:14:37 deraadt Exp $ # S= ${.CURDIR}/../../../.. @@ -16,6 +16,7 @@ ORG= 0x0000 LDFLAGS=-nostdlib -Ttext ${ORG} -x -N -s -Bstatic -e start -nopie LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= +BINMODE=644 NOMAN= #MAN+= cdbr.8 diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile index e4241bd9ded..9c757c2c601 100644 --- a/sys/arch/amd64/stand/pxeboot/Makefile +++ b/sys/arch/amd64/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2014/07/13 21:18:44 jasper Exp $ +# $OpenBSD: Makefile,v 1.22 2014/07/15 22:14:37 deraadt Exp $ MAN= pxeboot.8 @@ -13,6 +13,7 @@ SIZE?= size LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= +BINMODE=644 .PATH: ${SADIR}/libsa # i386 stuff (so, it will possibly load in the same 64k) diff --git a/sys/arch/i386/stand/cdboot/Makefile b/sys/arch/i386/stand/cdboot/Makefile index f0f036f46f1..a25af88214f 100644 --- a/sys/arch/i386/stand/cdboot/Makefile +++ b/sys/arch/i386/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2014/07/13 09:26:08 jasper Exp $ +# $OpenBSD: Makefile,v 1.23 2014/07/15 22:14:37 deraadt Exp $ MAN= cdboot.8 @@ -12,6 +12,7 @@ LD?= ld SIZE?= size LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie INSTALL_STRIP= +BINMODE=644 CLEANFILES+= crt0.o ${PROG}.whole diff --git a/sys/arch/i386/stand/cdbr/Makefile b/sys/arch/i386/stand/cdbr/Makefile index ae783862dfe..3f153f4fa55 100644 --- a/sys/arch/i386/stand/cdbr/Makefile +++ b/sys/arch/i386/stand/cdbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2013/01/18 03:45:23 jsing Exp $ +# $OpenBSD: Makefile,v 1.6 2014/07/15 22:14:37 deraadt Exp $ # S= ${.CURDIR}/../../../.. @@ -18,6 +18,7 @@ NOMAN= #MAN+= cdbr.8 INSTALL_STRIP= +BINMODE=644 ${PROG}: $(OBJS) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile index f908780b3b8..510e2675cfa 100644 --- a/sys/arch/i386/stand/pxeboot/Makefile +++ b/sys/arch/i386/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2014/07/13 09:26:08 jasper Exp $ +# $OpenBSD: Makefile,v 1.19 2014/07/15 22:14:37 deraadt Exp $ MAN= pxeboot.8 @@ -12,6 +12,7 @@ LD?= ld SIZE?= size LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie INSTALL_STRIP= +BINMODE=644 CLEANFILES+= crt0.o ${PROG}.whole diff --git a/sys/arch/sparc64/stand/bootblk/Makefile b/sys/arch/sparc64/stand/bootblk/Makefile index 0970766fcf0..c5c011e556a 100644 --- a/sys/arch/sparc64/stand/bootblk/Makefile +++ b/sys/arch/sparc64/stand/bootblk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2013/10/30 00:43:46 guenther Exp $ +# $OpenBSD: Makefile,v 1.12 2014/07/15 22:14:37 deraadt Exp $ # $NetBSD: Makefile,v 1.1 2000/08/20 14:58:45 mrg Exp $ CURDIR= ${.CURDIR} @@ -13,6 +13,7 @@ CLEANFILES= assym.fth.h assym.fth.h.tmp machine \ NOMAN= STRIPFLAG= +BINMODE=644 INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -- cgit v1.2.3