HardenedBSD/usr.sbin/tzsetup
Ed Maste 030c387f5d tzsetup: correct timezone symlink target
In chroot mode tzsetup prepended the chroot path to the symlink target,
which is not correct.  Use the same path for the symlink regardless of
chroot mode.

PR:		281332
Reported by:	scf, Herbert J. Skuhra
Reviewed by:	olce
Fixes: 5e16809c95 ("tzsetup: symlink /etc/localtime instead of co...")
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46725
2024-09-30 10:22:34 -04:00
..
baseline
Makefile
Makefile.depend
tzsetup.8
tzsetup.c tzsetup: correct timezone symlink target 2024-09-30 10:22:34 -04:00