summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-11 15:54:20 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-11 15:54:20 -0500
commit7df42e8744d384c975b28192f66ab4c5e4c1fd90 (patch)
tree0abe7f6e678935ccb83e334830865bf9910b65f5 /src/conf
parent1e21e78bf7a5c24c217446d8760be7b7188711c2 (diff)
downloadmusl-7df42e8744d384c975b28192f66ab4c5e4c1fd90.tar.gz
musl-7df42e8744d384c975b28192f66ab4c5e4c1fd90.tar.bz2
musl-7df42e8744d384c975b28192f66ab4c5e4c1fd90.tar.xz
musl-7df42e8744d384c975b28192f66ab4c5e4c1fd90.zip
report support of TPS option in unistd.h and sysconf
also update another newish feature in sysconf, stackaddr
Diffstat (limited to 'src/conf')
-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 d6691df8..9f0d97b2 100644
--- a/src/conf/sysconf.c
+++ b/src/conf/sysconf.c
@@ -89,9 +89,9 @@ long sysconf(int name)
[_SC_THREAD_KEYS_MAX] = PTHREAD_KEYS_MAX,
[_SC_THREAD_STACK_MIN] = PTHREAD_STACK_MIN,
[_SC_THREAD_THREADS_MAX] = -1,
- [_SC_THREAD_ATTR_STACKADDR] = -1,
+ [_SC_THREAD_ATTR_STACKADDR] = VER,
[_SC_THREAD_ATTR_STACKSIZE] = VER,
- [_SC_THREAD_PRIORITY_SCHEDULING] = -1,
+ [_SC_THREAD_PRIORITY_SCHEDULING] = VER,
[_SC_THREAD_PRIO_INHERIT] = -1,
[_SC_THREAD_PRIO_PROTECT] = -1,
[_SC_THREAD_PROCESS_SHARED] = VER,