about summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-06-02 14:02:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-06-05 12:51:48 -0300
commite3622a8f391deea3b75a577dce70d023dfa3f1c7 (patch)
tree963801e07deda604b41d93204837a04b722b5f93 /support
parentd4963a844dc72c4ac14da3395cf511f3d191d689 (diff)
downloadglibc-e3622a8f391deea3b75a577dce70d023dfa3f1c7.tar.gz
glibc-e3622a8f391deea3b75a577dce70d023dfa3f1c7.tar.xz
glibc-e3622a8f391deea3b75a577dce70d023dfa3f1c7.zip
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>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions