diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-06-02 14:02:09 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-06-05 12:51:48 -0300 |
commit | e3622a8f391deea3b75a577dce70d023dfa3f1c7 (patch) | |
tree | 963801e07deda604b41d93204837a04b722b5f93 /support/delayed_exit.c | |
parent | d4963a844dc72c4ac14da3395cf511f3d191d689 (diff) | |
download | glibc-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/delayed_exit.c')
0 files changed, 0 insertions, 0 deletions