diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-09-29 14:10:20 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-02 16:11:49 -0300 |
commit | 574500a108be1d2a6a0dc97a075c9e0a98371aba (patch) | |
tree | 018a857652d9591b21ac02289d14d3c6e28a0620 /sysdeps/unix/bsd/gtty.c | |
parent | 238032ead6f34c41542890b968d973eb5c839673 (diff) | |
download | glibc-574500a108be1d2a6a0dc97a075c9e0a98371aba.tar.gz glibc-574500a108be1d2a6a0dc97a075c9e0a98371aba.tar.xz glibc-574500a108be1d2a6a0dc97a075c9e0a98371aba.zip |
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>
Diffstat (limited to 'sysdeps/unix/bsd/gtty.c')
0 files changed, 0 insertions, 0 deletions