summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-16 23:59:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-16 23:59:48 +0000
commit552fc80077e8d202817b6a1ba5bdb93371f800a0 (patch)
treeb4c402a997f8c12cad9242e2eaa130b7642feb9b /libexec/ld.so
parent53c6fca420e355c6780bbd3297a1be3078ea569f (diff)
install both ld.so with mode 444
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/Makefile5
1 files changed, 3 insertions, 2 deletions
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 <bsd.prog.mk>