about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-26 23:07:54 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-26 23:07:54 -0400
commita6d39fdfa46b7d7664e302f11384c88d7a9a1e3b (patch)
tree63b484351f4693c7d13316dc1d620e4def603d58 /src
parent77830507bed92a62ab230b499d5b38ae45d208a4 (diff)
downloadmusl-a6d39fdfa46b7d7664e302f11384c88d7a9a1e3b.tar.gz
musl-a6d39fdfa46b7d7664e302f11384c88d7a9a1e3b.tar.xz
musl-a6d39fdfa46b7d7664e302f11384c88d7a9a1e3b.zip
report presence of ADV and MSG options in unistd.h and sysconf
Diffstat (limited to 'src')
-rw-r--r--src/conf/sysconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c
index 1f66031a..b2e94e52 100644
--- a/src/conf/sysconf.c
+++ b/src/conf/sysconf.c
@@ -32,7 +32,7 @@ long sysconf(int name)
 		[_SC_MEMLOCK] = VER,
 		[_SC_MEMLOCK_RANGE] = VER,
 		[_SC_MEMORY_PROTECTION] = VER,
-		[_SC_MESSAGE_PASSING] = -1,
+		[_SC_MESSAGE_PASSING] = VER,
 		[_SC_SEMAPHORES] = VER,
 		[_SC_SHARED_MEMORY_OBJECTS] = -1,
 		[_SC_AIO_LISTIO_MAX] = -1,
@@ -144,7 +144,7 @@ long sysconf(int name)
 		[_SC_XOPEN_LEGACY] = -1,
 		[_SC_XOPEN_REALTIME] = -1,
 		[_SC_XOPEN_REALTIME_THREADS] = -1,
-		[_SC_ADVISORY_INFO] = -1,
+		[_SC_ADVISORY_INFO] = VER,
 		[_SC_BARRIERS] = VER,
 		[_SC_BASE] = -1,
 		[_SC_C_LANG_SUPPORT] = -1,