Subject: Re: pkg/13033: samba under 1.5
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Ron Roskens <roskens@elfin.net>
List: netbsd-bugs
Date: 05/24/2001 16:46:48
I don't see IPC_{R,W} mentioned in the man page for shmget(2).

The additions of IPC_{R,W} in there didn't happen until rev.1.9 which is
-current.

AFAICT, IPC_{R,W} have been hidden in the _KERNEL space until after 1.5.


On Thu, 24 May 2001, Johnny C. Lam wrote:

> Date: Thu, 24 May 2001 17:25:24 -0400
> From: Johnny C. Lam <lamj@stat.cmu.edu>
> To: roskens@elfin.net
> Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
> Subject: Re: pkg/13033: samba under 1.5
>
> roskens@elfin.net writes:
> >
> > >Description:
> > net/samba package now tries to use IPC_R, and IPC_W instead of SHM_R, and
> > SHM_W. Neither of those are defined for userland unless _KERNEL is defined.
>
> Hmmm...this is troubling, since the shmget(2) manpage suggests that
> IPC_{R,W} are part of the interface exported by <sys/shm.h> and not
> protected y _KERNEL.  I'll make another fix for samba, but this may be
> something wrong in NetBSD 1.5.
>
> 	Cheers,
>
>      -- Johnny C. Lam <lamj@stat.cmu.edu>
>         Department of Statistics, Carnegie Mellon University
>         http://www.stat.cmu.edu/~lamj/
>
>

Elfin