Hi Martin, > If semctl09 failed in one of the SAFE_*() functions during unprivileged user > test case, SAFE_SEMCTL() in cleanup() would fail with EPERM because the sem_id > is owned by root. Make sure that cleanup() always runs with root EUID. Thanks a lot, merged! Kind regards, Petr