]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: say that ProtectClock= also affects reads
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 May 2023 07:52:17 +0000 (09:52 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 May 2023 09:17:39 +0000 (11:17 +0200)
commit42eccfec6e47a5436bd143ee357d2a2da620c2f2
tree9112156acae19d7c32713643c893212a7d56abf6
parent89572df859a14682848eb4946c174047878c1db9
man: say that ProtectClock= also affects reads

Fixes #26413: the docs said that the filter prevents writes, but it just a
filter at the system call level, and some of those calls are used for writing
and reading. This is confusing esp. when a higher level library call like
ntp_gettime() is denied.

I don't think it's realistic that we'll make the filter smarter in the near
future, so let's change the docs to describe the implementation.

Also, split out the advice part into a separate paragraph.
man/systemd.exec.xml