Skip to content
Commit 9b139b6b authored by Dmitry V. Levin's avatar Dmitry V. Levin Committed by Adhemerval Zanella
Browse files

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: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>

(cherry picked from commit 574500a1)
parent 81c5484d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment