Subject: Re: a.out dynamic libraries
To: None <tech-toolchain@NetBSD.ORG (NetBSD Toolchain Technical Discussion>
From: Perry E. Metzger <>
List: tech-toolchain
Date: 05/27/1998 07:59:28
Greg A. Woods writes:
> [ On Tue, May 26, 1998 at 11:30:54 (-0400), Perry E. Metzger wrote: ]
> > Subject: Re: a.out dynamic libraries 
> >
> > The sticky bit on an ordinary file has a sunos/solaris meaning we
> > might not want to be incompatible with...
> I have no idea what you're talking about here (the manual pages reveal
> nothing special in this respect).

If I recall correctly, Sun's operating systems interpret the sticky
bit as meaning "don't force syncs on this file, esp. when mmap'ed",
this being useful to set on NFS swap files and such to indicate that
you don't need integrity on the file.

> However the ideal bit for this would be the same one used to enable
> mandatory write locks (which of course is the way I'd prefer to see this
> implemented in the first place).  From the SunOS-5 chmod(2) page:
>      If the mode bit 02000 (set group ID on execution) is set and
>      the  mode bit 00010 (execute or search by group) is not set,
>      mandatory file/record locking will exist on a regular  file.
>      This  may affect future calls to open(2), creat(2), read(2),
>      and write(2) on this file.
> -- 
> 							Greg A. Woods
> +1 416 443-1734      VE3TCP      <>      <robohack!woods>
> Planix, Inc. <>; Secrets of the Weird <>