From: deraadt Date: Tue, 16 Dec 2014 23:59:47 +0000 (+0000) Subject: install both ld.so with mode 444 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5fbcaf48ac7c7a3c0b982d1d2a1178f458b6e014;p=openbsd install both ld.so with mode 444 --- diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 612d46a3cf6..1f8ace1d24f 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.51 2014/12/16 20:53:12 pascal Exp $ +# $OpenBSD: Makefile,v 1.52 2014/12/16 23:59:47 deraadt Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -9,6 +9,7 @@ MAN= ld.so.1 NOPROG= .else PROG= ld.so +BINMODE=444 VPATH=${.CURDIR}/../../lib/libc/string @@ -52,7 +53,7 @@ $(PROG): $(test_prog) .endif afterinstall: - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ + ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.OBJDIR}/ld.so ${DESTDIR}/sbin/ld.so .include