sys/mman.h: hide SHARED/PRIVATE/VALID_ATTR behind __UNLEASHED_VISIBLE
commit52937e91c5356c6c5496ee98c9b6f44cf637a0b6
authorLauri Tirkkonen <lotheac@iki.fi>
Fri, 28 Dec 2018 13:11:54 +0000 (28 15:11 +0200)
committerLauri Tirkkonen <lotheac@iki.fi>
Sat, 29 Dec 2018 09:29:10 +0000 (29 11:29 +0200)
tree738bb684faec0ff4090f531838c915aafbc09d3a
parentd2da92e67ca00477008ba62d8f021a257f70b5ff
sys/mman.h: hide SHARED/PRIVATE/VALID_ATTR behind __UNLEASHED_VISIBLE

since memcntl(2) is a public interface this isn't strictly speaking the
right thing to do, but "PRIVATE" and "SHARED" are definitely not names
we should be reserving for everyone that happens to include sys/mman.h.
include/sys/mman.h
usr/src/lib/libc/Makefile.targ
usr/src/lib/libc/port/gen/plock.c
usr/src/test/libc-tests/tests/random/inz_inval.c