Skip to content
Commit e3622a8f authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

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: default avatarCarlos O'Donell <carlos@redhat.com>
parent d4963a84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment