diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-08-29 17:00:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-08-29 17:00:31 +0000 |
commit | 8568212eb4373d0dd74b5fa502aad4add539023f (patch) | |
tree | d00b0f3f83982f3eb12558ebd8375dbe6679d9bd /sbin/nfsd | |
parent | f2fdbdd7af357185a67b8758bf9361a0620796f7 (diff) |
Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd,
resolvd, slaacd, unwind.
The mitigation story is way better: syscalls are in a randomly located
libc, and every syscall stub is randomly located inside that due to
random relinking. As opposed to fixed offset inside a release binary.
There is one known consequence: /usr nfs mounting must use statically
configured IP addresses.
ok kettenis florian, others
Diffstat (limited to 'sbin/nfsd')
-rw-r--r-- | sbin/nfsd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/nfsd/Makefile b/sbin/nfsd/Makefile index 5d5d13096db..938b0025445 100644 --- a/sbin/nfsd/Makefile +++ b/sbin/nfsd/Makefile @@ -1,6 +1,9 @@ -# $OpenBSD: Makefile,v 1.8 2015/10/02 00:47:48 deraadt Exp $ +# $OpenBSD: Makefile,v 1.9 2022/08/29 17:00:30 deraadt Exp $ PROG= nfsd MAN= nfsd.8 .include <bsd.prog.mk> + +# Don't compile nfsd as static binary by default +LDSTATIC= |