Subject: Re: Samba 2.2.0
To: Douglas Egan <degan@calcon.net>
From: None <collver@linuxfreemail.com>
List: netbsd-help
Date: 04/23/2001 09:46:03
/*
 * The use of SHM_R and SHM_W is not portable. Neither Posix nor
 * SUSv2 specify it. Solaris and Linux have them (as well as newer
 * versions of NetBSD) but either do not document them (Solaris) or
 * explicitly depreceate their use (NetBSD).
 */ 

written by martin@duskware.de

On Mon, Apr 23, 2001 at 10:00:20AM -0500, Douglas Egan wrote:
> I just got Samba 2.2.0 running with NetBSD 1.5  Had a couple of issues
> and am looking for feedback.
> Here is a copy of email I sent to samba.org, but I haven't received an
> explanation yet.  After making the change below the file compiled, but I
> am unsure if the change is correct.  I didn't find the definitions for
> SHM_R and SHM_W anywhere in NetBSD.
> 
> Anyone know ramifications of my modification?   Samba 2.2.0 seems to be
> working nicely under 1.5
> 
> Thanks,
> 
> Doug Egan
> 
> *****************************************************
> 
> Problems on NetBSD also.
> 
> I don't know if this is correct, but it compiled, and is working so
> far.
> 
> source/profile/profile.c  SHM_R and SHM_W were undefined.
> 
> 
> The following 2 lines were added, (they were defined in shm.c in
> Solaris 2.7)
> /*
>  *      Permission Definitions.
>  */
> #define SHM_R   0400    /* read permission */
> #define SHM_W   0200    /* write permission */
> 
> Doug Egan
> 
> 

-- 
"Recycled food, it's good for the environment, and O.K. for you."