]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for cvs/fedora-glibc-20080802T0809
authorUlrich Drepper <drepper@redhat.com>
Fri, 1 Aug 2008 23:49:18 +0000 (23:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 1 Aug 2008 23:49:18 +0000 (23:49 +0000)
new epoll_create1 interface.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.

ChangeLog
NEWS
sysdeps/unix/sysv/linux/Versions
sysdeps/unix/sysv/linux/sys/epoll.h
sysdeps/unix/sysv/linux/syscalls.list
sysdeps/unix/sysv/linux/x86_64/sys/epoll.h

index 633622292ace30dcebb3176a557a885d41d32cc1..c1889e327a92deb0fc3f2cfb874c1877049539d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-08-01  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for
+       new epoll_create1 interface.
+       * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
+       * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
+
        * include/arpa/nameser.h (NS_GET16): Use const pointer.
        (NS_GET32): Likewise.
 
diff --git a/NEWS b/NEWS
index 9873ddea701b5a0110faa36771a47a555e5172a2..a8ad68bfd585892c53f18ffacd4a5274833d75aa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2008-7-27
+GNU C Library NEWS -- history of user-visible changes.  2008-8-1
 Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -23,10 +23,10 @@ Version 2.9
 * New implementation of memmem, strstr, and strcasestr which is O(n).
   Implemented by Eric Blake.
 
-* New Linux interfaces: inotify_init1, paccept, dup3, epoll_create2, pipe2
+* New Linux interfaces: inotify_init1, paccept, dup3, epoll_create1, pipe2
 
 * Implement "e" option for popen to open file descriptor with the
-  close-on-exec flag set
+  close-on-exec flag set.  Implemented by Ulrich Drepper.
 
 * Many functions, exported and internal, now atomically set the close-on-exec
   flag when run on a sufficiently new kernel.  Implemented by Ulrich Drepper.
index 5a76028c6cc800387934461daffe5371cde617ad..76ecae00138f7bc03a8b58ee93c4e7eb21d3c578 100644 (file)
@@ -136,7 +136,7 @@ libc {
     timerfd_create; timerfd_settime; timerfd_gettime;
   }
   GLIBC_2.9 {
-    epoll_create2; inotify_init1;
+    epoll_create1; inotify_init1;
   }
   GLIBC_PRIVATE {
     # functions used in other libraries
index aa8784b1ee07574d0d9a14a10b1fa6cfa99f8644..12de0bcfe2fadcbabfc4c76c9f6393132ff33db8 100644 (file)
@@ -101,8 +101,9 @@ __BEGIN_DECLS
    returned by epoll_create() should be closed with close().  */
 extern int epoll_create (int __size) __THROW;
 
-/* Same as epoll_create but with an additional FLAGS parameter.  */
-extern int epoll_create2 (int __size, int __flags) __THROW;
+/* Same as epoll_create but with an FLAGS parameter.  The unused SIZE
+   parameter has been dropped.  */
+extern int epoll_create1 (int __flags) __THROW;
 
 
 /* Manipulate an epoll instance "epfd". Returns 0 in case of success,
index f654d5ee007c74887551390cac17a0114c88f2be..a87906a4e302b067172b121dfafd9d7f82ad1547 100644 (file)
@@ -8,7 +8,7 @@ creat           -       creat           Ci:si   __libc_creat creat
 create_module  EXTRA   create_module   3       create_module
 delete_module  EXTRA   delete_module   3       delete_module
 epoll_create   EXTRA   epoll_create    i:i     epoll_create
-epoll_create2  EXTRA   epoll_create2   i:ii    epoll_create2
+epoll_create1  EXTRA   epoll_create1   i:i     epoll_create1
 epoll_ctl      EXTRA   epoll_ctl       i:iiip  epoll_ctl
 epoll_wait     EXTRA   epoll_wait      Ci:ipii epoll_wait
 fdatasync      -       fdatasync       Ci:i    fdatasync
index dfb65fe5fa2aa8076bd41f185d3350430168c1e9..234798e4b81cac8cdb9ac798fe61dfe28400fbab 100644 (file)
@@ -31,6 +31,16 @@ typedef __sigset_t sigset_t;
 #endif
 
 
+/* Flags to be passed to epoll_create2.  */
+enum
+  {
+    EPOLL_CLOEXEC = 02000000,
+#define EPOLL_CLOEXEC EPOLL_CLOEXEC
+    EPOLL_NONBLOCK = 04000
+#define EPOLL_NONBLOCK EPOLL_NONBLOCK
+  };
+
+
 enum EPOLL_EVENTS
   {
     EPOLLIN = 0x001,
@@ -91,6 +101,10 @@ __BEGIN_DECLS
    returned by epoll_create() should be closed with close().  */
 extern int epoll_create (int __size) __THROW;
 
+/* Same as epoll_create but with an FLAGS parameter.  The unused SIZE
+   parameter has been dropped.  */
+extern int epoll_create1 (int __flags) __THROW;
+
 
 /* Manipulate an epoll instance "epfd". Returns 0 in case of success,
    -1 in case of error ( the "errno" variable will contain the
This page took 0.057982 seconds and 5 git commands to generate.