From 60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Nov 2004 20:57:44 +0000 Subject: Update. 2004-11-27 Ulrich Drepper * posix/getconf.c (vars): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and _SC_RAW_SOCKETS. --- posix/getconf.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'posix') diff --git a/posix/getconf.c b/posix/getconf.c index 6175dfec26..5aac25e4ca 100644 --- a/posix/getconf.c +++ b/posix/getconf.c @@ -912,6 +912,12 @@ static const struct conf vars[] = { "LEVEL4_CACHE_ASSOC", _SC_LEVEL4_CACHE_ASSOC, SYSCONF }, #endif +#ifdef _SC_IPV6 + { "IPV6", _SC_IPV6, SYSCONF }, +#endif +#ifdef _SC_RAW_SOCKETS + { "RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF }, +#endif { NULL, 0, SYSCONF } }; -- cgit 1.4.1