[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / sbin / mountd

File: [local] / src / sbin / mountd / Makefile (download)

Revision 1.5, Mon Aug 29 17:00:30 2022 UTC (21 months, 1 week ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.4: +4 -1 lines

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

#	$OpenBSD: Makefile,v 1.5 2022/08/29 17:00:30 deraadt Exp $

PROG=	mountd
MAN=	exports.5 mountd.8

LDADD=	-lutil
DPADD=	${LIBUTIL}

.include <bsd.prog.mk>

# Don't compile mountd as static binary by default
LDSTATIC=