about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/opensock.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-25 19:19:30 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-25 19:19:30 +0000
commit21708942c9b115a91dc03318a5f9e14328c5a71e (patch)
treee0b3797820e23ab73ebdab3c34d20943e911669b /sysdeps/unix/sysv/linux/opensock.c
parenta386f1cc229e7de02740bef18bdd5d272d1e7537 (diff)
downloadglibc-21708942c9b115a91dc03318a5f9e14328c5a71e.tar.gz
glibc-21708942c9b115a91dc03318a5f9e14328c5a71e.tar.xz
glibc-21708942c9b115a91dc03318a5f9e14328c5a71e.zip
Remove pre-2.4 Linux kernel support.
Diffstat (limited to 'sysdeps/unix/sysv/linux/opensock.c')
-rw-r--r--sysdeps/unix/sysv/linux/opensock.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/opensock.c b/sysdeps/unix/sysv/linux/opensock.c
index 5959380621..d4674229ea 100644
--- a/sysdeps/unix/sysv/linux/opensock.c
+++ b/sysdeps/unix/sysv/linux/opensock.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,15 +36,8 @@ __opensock (void)
     const char procname[15];
   } afs[] =
     {
-      /* The 2.2 kernels cannot handle ioctl(SIOCGIFCONF) on AF_UNIX sockets.
-	 Give the kernel a chance to user inet sockets on old kernels.  */
-#if __LINUX_KERNEL_VERSION < 132096
-      { AF_INET, "" },
-      { AF_UNIX, "net/unix" },
-#else
       { AF_UNIX, "net/unix" },
       { AF_INET, "" },
-#endif
       { AF_INET6, "net/if_inet6" },
       { AF_AX25, "net/ax25" },
       { AF_NETROM, "net/nr" },