> From: "Todd C. Miller" <todd.mil...@sudo.ws> > Date: Tue, 21 Aug 2018 09:19:05 -0600 > > On Tue, 21 Aug 2018 08:57:06 +0100, David CARLIER wrote: > > > For portability sake and to make it more "visible" I changed the > > __MAP_NOREPLACE to MAP_EXCL, documented it in the man page and also > > changed the errno to EEXIST instead (I thought it would reflect > > better the error in case the addressed mapped already exists but > > can be changed back in case ...). > > Does anyone other than FreeBSD define MAP_EXCL? A quick google > search didn't turn up any other systems with it.
The symbol starts with a double underscore for a reason. We really didn't want this to be used outside of the very specific code in base that needs this.