Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
tests: disable tests for invalid msgctl and semctl commands on glibc …
…>= 2.28 Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2, glibc skips msgctl syscall invocations and returns EINVAL for invalid msgctl commands. Likewise, starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882, glibc skips semctl syscall invocations and returns EINVAL for invalid semctl commands. These changes were later backported to vendor packages, e.g.: * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands to semctl, msgctl, and shmctl. (#1912670) * tests/ipc_msg.c [GLIBC_PREREQ_GE(2, 28)] (TEST_MSGCTL_BOGUS_CMD): Define to 0. * tests/ipc_sem.c [GLIBC_PREREQ_GE(2, 28)] (TEST_SEMCTL_BOGUS_CMD): Likewise.
- Loading branch information