struct ipc_perm

Dmitry Sivachenko mitya at cavia.pp.ru
Wed Jun 18 09:25:56 PDT 2003


On Wed, Jun 18, 2003 at 06:08:37PM +0200, Gary Jennejohn wrote:
> 
> Dmitry Sivachenko writes:
> > Hello!
> > 
> > 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.

Any ideas?

Thanks!


More information about the freebsd-hackers mailing list