summaryrefslogtreecommitdiffstats
path: root/sys/sys/shm.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-11-17 13:12:06 +0000
committerrwatson <rwatson@FreeBSD.org>2004-11-17 13:12:06 +0000
commit9fdfeb56f44935729146e5b54256cf76baf323ab (patch)
tree783221fa0252d281c55f1f92629db39e2624b430 /sys/sys/shm.h
parentbbe546d283f2e620d088e074786dea14a4d79272 (diff)
downloadFreeBSD-src-9fdfeb56f44935729146e5b54256cf76baf323ab.zip
FreeBSD-src-9fdfeb56f44935729146e5b54256cf76baf323ab.tar.gz
In the kernel-only portionss of System V IPC objects (messages,
message queues, shared memory segments, and semaphores), add a struct label pointer, which will hold the MAC labels for the objects. As a result of recent work to separate kernel and user space ABIs, this should not break the ABI for applications using System V IPC, but will require a rebuild of the ipcs monitoring tool. Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research
Diffstat (limited to 'sys/sys/shm.h')
-rw-r--r--sys/sys/shm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/shm.h b/sys/sys/shm.h
index 07ae3a6..0595782 100644
--- a/sys/sys/shm.h
+++ b/sys/sys/shm.h
@@ -90,6 +90,7 @@ struct shminfo {
*/
struct shmid_kernel {
struct shmid_ds u;
+ struct label *label; /* MAC label */
};
extern struct shminfo shminfo;
OpenPOWER on IntegriCloud