tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:200: TFAIL: SEM_STAT_ANY doesn't pass the buffer specified by
the caller to kernel
HINT: You _MAY_ be missing glibc fixes: https://sourceware.org/git/?p=glibc.git;a=commit;h=574500a108be
Summary:
passed 8
failed 1
broken 0
skipped 0
warnings 0
With the patch applied:
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
Summary:
passed 16
failed 0
broken 0
skipped 0
warnings 0
I've also ran the glibc tests locally and no difference in results was observed.
I have pushed a fix for Focal: https:/ /code.launchpad .net/~agherzan/ ubuntu/ +source/ glibc/+ git/glibc/ +ref/ag/ SEM_STAT_ ANY. Tested in a LXC VM with LTP:
Without the patch applied:
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s /sourceware. org/git/ ?p=glibc. git;a=commit; h=574500a108be
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:200: TFAIL: SEM_STAT_ANY doesn't pass the buffer specified by
the caller to kernel
HINT: You _MAY_ be missing glibc fixes:
https:/
Summary:
passed 8
failed 1
broken 0
skipped 0
warnings 0
With the patch applied:
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
Summary:
passed 16
failed 0
broken 0
skipped 0
warnings 0
I've also ran the glibc tests locally and no difference in results was observed.