From cfe5e3905201349e9cf3f95d52ff4bd100bde37d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:10:49 +0200 Subject: Adding upstream version 2.39.3. Signed-off-by: Daniel Baumann --- tests/expected/ipcs/headers | 0 tests/expected/ipcs/headers-all-headers | 35 ++++++++++++++++++++++++++++++++ tests/expected/ipcs/headers-mesg-headers | 8 ++++++++ tests/expected/ipcs/headers-sem-headers | 6 ++++++ tests/expected/ipcs/headers-shm-headers | 8 ++++++++ tests/expected/ipcs/limits | 7 +++++++ tests/expected/ipcs/limits2 | 4 ++++ tests/expected/ipcs/mk-rm-msg | 3 +++ tests/expected/ipcs/mk-rm-sem | 4 ++++ tests/expected/ipcs/mk-rm-shm | 4 ++++ 10 files changed, 79 insertions(+) create mode 100644 tests/expected/ipcs/headers create mode 100644 tests/expected/ipcs/headers-all-headers create mode 100644 tests/expected/ipcs/headers-mesg-headers create mode 100644 tests/expected/ipcs/headers-sem-headers create mode 100644 tests/expected/ipcs/headers-shm-headers create mode 100644 tests/expected/ipcs/limits create mode 100644 tests/expected/ipcs/limits2 create mode 100644 tests/expected/ipcs/mk-rm-msg create mode 100644 tests/expected/ipcs/mk-rm-sem create mode 100644 tests/expected/ipcs/mk-rm-shm (limited to 'tests/expected/ipcs') diff --git a/tests/expected/ipcs/headers b/tests/expected/ipcs/headers new file mode 100644 index 0000000..e69de29 diff --git a/tests/expected/ipcs/headers-all-headers b/tests/expected/ipcs/headers-all-headers new file mode 100644 index 0000000..328a5e7 --- /dev/null +++ b/tests/expected/ipcs/headers-all-headers @@ -0,0 +1,35 @@ +------ Message Queues -------- +key msqid owner perms used-bytes messages +-- +------ Shared Memory Segments -------- +key shmid owner perms bytes nattch status +-- +------ Semaphore Arrays -------- +key semid owner perms nsems +------ Message Queues Send/Recv/Change Times -------- +msqid owner send recv change +-- +------ Shared Memory Attach/Detach/Change Times -------- +shmid owner attached detached changed +-- +------ Semaphore Operation/Change Times -------- +semid owner last-op last-changed +------ Message Queues PIDs -------- +msqid owner lspid lrpid +-- +------ Shared Memory Creator/Last-op PIDs -------- +shmid owner cpid lpid +------ Message Queues Creators/Owners -------- +msqid perms cuid cgid uid gid +-- +------ Shared Memory Segment Creators/Owners -------- +shmid perms cuid cgid uid gid +-- +------ Semaphore Arrays Creators/Owners -------- +semid perms cuid cgid uid gid +------ Messages Limits -------- +------ Shared Memory Limits -------- +------ Semaphore Limits -------- +------ Messages Status -------- +------ Shared Memory Status -------- +------ Semaphore Status -------- diff --git a/tests/expected/ipcs/headers-mesg-headers b/tests/expected/ipcs/headers-mesg-headers new file mode 100644 index 0000000..613c40a --- /dev/null +++ b/tests/expected/ipcs/headers-mesg-headers @@ -0,0 +1,8 @@ +------ Message Queues Send/Recv/Change Times -------- +msqid owner send recv change +------ Message Queues PIDs -------- +msqid owner lspid lrpid +------ Message Queues Creators/Owners -------- +msqid perms cuid cgid uid gid +------ Messages Limits -------- +------ Messages Status -------- diff --git a/tests/expected/ipcs/headers-sem-headers b/tests/expected/ipcs/headers-sem-headers new file mode 100644 index 0000000..460586b --- /dev/null +++ b/tests/expected/ipcs/headers-sem-headers @@ -0,0 +1,6 @@ +------ Semaphore Operation/Change Times -------- +semid owner last-op last-changed +------ Semaphore Arrays Creators/Owners -------- +semid perms cuid cgid uid gid +------ Semaphore Limits -------- +------ Semaphore Status -------- diff --git a/tests/expected/ipcs/headers-shm-headers b/tests/expected/ipcs/headers-shm-headers new file mode 100644 index 0000000..84aeff6 --- /dev/null +++ b/tests/expected/ipcs/headers-shm-headers @@ -0,0 +1,8 @@ +------ Shared Memory Attach/Detach/Change Times -------- +shmid owner attached detached changed +------ Shared Memory Creator/Last-op PIDs -------- +shmid owner cpid lpid +------ Shared Memory Segment Creators/Owners -------- +shmid perms cuid cgid uid gid +------ Shared Memory Limits -------- +------ Shared Memory Status -------- diff --git a/tests/expected/ipcs/limits b/tests/expected/ipcs/limits new file mode 100644 index 0000000..a0ff457 --- /dev/null +++ b/tests/expected/ipcs/limits @@ -0,0 +1,7 @@ +load original values +maximize kernel setting +check for difference between kernel and IPC +/proc/sys/kernel/shmmni OK +/proc/sys/kernel/shmall OK +/proc/sys/kernel/shmmax OK +write original values to kernel diff --git a/tests/expected/ipcs/limits2 b/tests/expected/ipcs/limits2 new file mode 100644 index 0000000..28454e3 --- /dev/null +++ b/tests/expected/ipcs/limits2 @@ -0,0 +1,4 @@ +check for difference between kernel and IPC +/proc/sys/kernel/shmmni OK +/proc/sys/kernel/shmall OK +/proc/sys/kernel/shmmax OK diff --git a/tests/expected/ipcs/mk-rm-msg b/tests/expected/ipcs/mk-rm-msg new file mode 100644 index 0000000..a913bc3 --- /dev/null +++ b/tests/expected/ipcs/mk-rm-msg @@ -0,0 +1,3 @@ +Message queue id: +1 +Message queue id: diff --git a/tests/expected/ipcs/mk-rm-sem b/tests/expected/ipcs/mk-rm-sem new file mode 100644 index 0000000..da2c7cd --- /dev/null +++ b/tests/expected/ipcs/mk-rm-sem @@ -0,0 +1,4 @@ +Semaphore id: +nsems = 1 +Semaphore id: +nsems = 2 diff --git a/tests/expected/ipcs/mk-rm-shm b/tests/expected/ipcs/mk-rm-shm new file mode 100644 index 0000000..c63ab46 --- /dev/null +++ b/tests/expected/ipcs/mk-rm-shm @@ -0,0 +1,4 @@ +Shared memory id: +bytes=1 +Shared memory id: +bytes=12 -- cgit v1.2.3