diff options
author | deraadt <deraadt@openbsd.org> | 2019-11-29 19:30:56 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2019-11-29 19:30:56 +0000 |
commit | 29ab13eb17d9e2d6e30c1ca48e4fee1f71c2a2fc (patch) | |
tree | ec69847a4219afbd2470961250315972a80b832a | |
parent | Restore the previous behaiviour of not checking the crl for the mft. (diff) | |
download | wireguard-openbsd-29ab13eb17d9e2d6e30c1ca48e4fee1f71c2a2fc.tar.xz wireguard-openbsd-29ab13eb17d9e2d6e30c1ca48e4fee1f71c2a2fc.zip |
As additional paranoia, make a copy of system ld.so into obj/ld.so.backup
We don't want to CLEANFILES this one. On occasion this comes in useful.
-rw-r--r-- | libexec/ld.so/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index f9dd281ff66..68207da87d6 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.78 2019/11/29 06:34:44 deraadt Exp $ +# $OpenBSD: Makefile,v 1.79 2019/11/29 19:30:56 deraadt Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -91,6 +91,7 @@ $(PROG): $(test_prog) ${VERSION_SCRIPT} $(OBJS) ${LD_SCRIPT} $(LD) -e _dl_start $(ELF_LDFLAGS) -o $(candidate) \ `echo ${OBJS} | tr " " "\n" | sort -R` .endif + cp /usr/libexec/ld.so ld.so.backup .ifdef CHECK_LDSO ${CHECK_LDSO} $(candidate) .endif |