-
02894429
by Miroslav Lichvar at 2025-08-26T09:59:37+02:00
client: fix sizeof in open_unix_socket()
Fix one of the sizeofs in open_unix_socket() to correctly specify
sock_dir2 instead of sock_dir1. They have the same size, but don't rely
on that.
Fixes: 90d808ed2897 ("client: mitigate unsafe permissions change on chronyc socket")
-
830c8bb1
by Miroslav Lichvar at 2025-08-26T12:32:33+02:00
util: switch create_dir() from chown() to lchown()
Use lchown(), the safer variant of chown() that does not follow
symlinks, when changing the ownership of a created directory (logdir,
dumpdir, ntsdumpdir, and the directory of bindcmdaddress) to the chrony
user.
-
42e6b557
by Miroslav Lichvar at 2025-08-26T12:33:14+02:00
test: check credentials in nts_ke_session test
Make it more clear when the test fails because the credentials could not
be created.
-
2c63dfee
by Miroslav Lichvar at 2025-08-26T12:34:22+02:00
doc: update URL in test documentation