~agherzan/ubuntu/+source/glibc:ag/SEM_STAT_ANY

Last commit made on 2023-04-12
Get this branch:
git clone -b ag/SEM_STAT_ANY https://git.launchpad.net/~agherzan/ubuntu/+source/glibc
Only Andrei Gherzan can upload to this branch. If you are Andrei Gherzan please log in for upload directions.

Branch merges

Branch information

Name:
ag/SEM_STAT_ANY
Repository:
lp:~agherzan/ubuntu/+source/glibc

Recent commits

7199391... by Andrei Gherzan

debian/patches/all: Backport upstream fix for SEM_STAT_ANY

LP: #1910312

The fix landed in 2.33 and was tracked in upstream as part of
https://sourceware.org/bugzilla/show_bug.cgi?id=26637. The backport was
straight forward as the only conflict was due to:

commit dba950e3174a5210b900a26a7d2f361cadea2834
sysv: linux: Add 64-bit time_t variant for semctl

The cherry picked/backported commit includes code fix up, test-case and
build fixup for the related test-case.

It was tested with the LTP test suite.

Without 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 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

Signed-off-by: Andrei Gherzan <email address hidden>

d38433a... by Balint Reczey

2.31-0ubuntu9 (patches unapplied)

Imported using git-ubuntu import.

614505d... by Steve Langasek

2.31-0ubuntu8 (patches unapplied)

Imported using git-ubuntu import.

aea31f9... by Matthias Klose

2.31-0ubuntu7 (patches unapplied)

Imported using git-ubuntu import.

77d90aa... by Steve Langasek

2.31-0ubuntu6 (patches unapplied)

Imported using git-ubuntu import.

9805b4f... by Steve Langasek

2.31-0ubuntu5 (patches unapplied)

Imported using git-ubuntu import.

97049e8... by Steve Langasek

2.31-0ubuntu4 (patches unapplied)

Imported using git-ubuntu import.

640cceb... by Steve Langasek

2.31-0ubuntu3 (patches unapplied)

Imported using git-ubuntu import.

21ac9cb... by Matthias Klose

2.31-0ubuntu2 (patches unapplied)

Imported using git-ubuntu import.

3cf4859... by Matthias Klose

2.31-0ubuntu1 (patches unapplied)

Imported using git-ubuntu import.