Adhemerval Zanella e3622a8f39 time: Also check for EPERM while trying to clock_settime
Container management default seccomp filter [1] only accepts
clock_settime if process has also CAP_SYS_TIME.  So also handle
EPERM as well.

Also adapt the test to libsupport and add a proper Copyright header.

Checked on aarch64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-06-05 12:51:48 -03:00
..
2023-05-05 10:55:48 -04:00
2019-08-21 08:26:36 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2023-06-01 12:40:05 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-05-17 20:55:21 +00:00