feat(profile): add lsipc

This commit is contained in:
Alexandre Pujol 2025-07-20 14:45:44 +02:00
parent e490a11c1a
commit 37ec54b6f1
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/usr/bin/env bats
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
load ../common
@test "lsipc: Show information about all active IPC facilities" {
lsipc
}
@test "lsipc: Show information about active shared memory segments, message queues or sempahore sets" {
lsipc --shmems
lsipc --queues
lsipc --semaphores
}