Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 17:50:08 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Dmitry Sivachenko <mitya@cavia.pp.ru>
Cc:        Gary Jennejohn <garyj@jennejohn.org>
Subject:   Re: struct ipc_perm
Message-ID:  <Pine.NEB.3.96L.1030620174901.25358C-100000@fledge.watson.org>
In-Reply-To: <20030618162547.GA91861@fling-wing.demos.su>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 18 Jun 2003, Dmitry Sivachenko wrote:

> > > Is there any reason why struct ipc_perm is not protected by #ifdef _KERNEL
> > > in ipc.h?  Is it supposed to be used from userland?
> > 
> > It's needed by ipcs.
> 
> Ah, I see.  It is visible via struct msqid_ds. 
> 
> I developed a patch which requires addition of custom field to ipc_perm. 
> I am trying to imagine which problems can it cause to userland programs. 

We have local changes in the TrustedBSD development trees to extend all
the structures in the kernel without modifying the ABI.  We needed this to
put labels in the various System V IPC object structures.  We're not ready
to merge them yet, but it will probably happen in the next month or so.
If you'd like early access to the patch, we can drop you a copy.  We'll
merge it into the MAC tree in about a week.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030620174901.25358C-100000>