glibc/sysvipc
Dmitry V. Levin 574500a108 sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637]
Handle SEM_STAT_ANY the same way as SEM_STAT so that the buffer argument
of SEM_STAT_ANY is properly passed to the kernel and back.

The regression testcase checks for Linux specifix SysV ipc message
control extension.  For IPC_INFO/SEM_INFO it tries to match the values
against the tunable /proc values and for SEM_STAT/SEM_STAT_ANY it
check if the create message queue is within the global list returned
by the kernel.

Checked on x86_64-linux-gnu and on i686-linux-gnu (Linux v5.4 and on
Linux v4.15).

Co-authored-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-10-02 16:11:49 -03:00
..
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ftok.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
Makefile Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msgget.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msgrcv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msgsnd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
semctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
semget.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
semop.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
semtimedop.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shmat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shmdt.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shmget.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-sysvmsg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-sysvsem.c sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637] 2020-10-02 16:11:49 -03:00
test-sysvshm.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions Update. 2003-04-02 23:49:47 +00:00