about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-27 20:57:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-27 20:57:44 +0000
commit60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5 (patch)
treef6097495eff5d96cdb5441f6fbdc59d87135408e /sysdeps/generic
parent097487fef878799882bd444218cef836794abc5f (diff)
downloadglibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.tar.gz
glibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.tar.xz
glibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.zip
Update.
2004-11-27  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/bits/confname.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/generic/bits/confname.h b/sysdeps/generic/bits/confname.h
index d097a4ba1a..8947d48ed7 100644
--- a/sysdeps/generic/bits/confname.h
+++ b/sysdeps/generic/bits/confname.h
@@ -492,9 +492,14 @@ enum
 #define _SC_LEVEL4_CACHE_SIZE		_SC_LEVEL4_CACHE_SIZE
     _SC_LEVEL4_CACHE_ASSOC,
 #define _SC_LEVEL4_CACHE_ASSOC		_SC_LEVEL4_CACHE_ASSOC
-    _SC_LEVEL4_CACHE_LINESIZE
+    _SC_LEVEL4_CACHE_LINESIZE,
 #define _SC_LEVEL4_CACHE_LINESIZE	_SC_LEVEL4_CACHE_LINESIZE
     /* Leave room here, maybe we need a few more cache levels some day.  */
+
+    _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
+#define _SC_IPV6			_SC_IPV6
+    _SC_RAW_SOCKETS
+#define _SC_RAW_SOCKETS			_SC_RAW_SOCKETS
   };
 
 /* Values for the NAME argument to `confstr'.  */