This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-479-g7823958


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  78239589cd8c6667886b94c4db146109855f417a (commit)
      from  432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=78239589cd8c6667886b94c4db146109855f417a

commit 78239589cd8c6667886b94c4db146109855f417a
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Tue Nov 1 09:59:32 2011 -0400

    New Linux syscalls process_vm_readv and process_vm_writev

diff --git a/ChangeLog b/ChangeLog
index 2a096f1..548fabf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
 
+	* sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
+	process_vm_writev.
+	* sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
+	process_vm_writev.
+	* sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
+	process_vm_writev from libc using GLIBC_2.15 version.
+
 	* nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
 
 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
diff --git a/NEWS b/NEWS
index 8c352e9..60f8f87 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2011-10-31
+GNU C Library NEWS -- history of user-visible changes.  2011-11-1
 Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -54,6 +54,8 @@ Version 2.15
 
 * Optimized strcasecmp and strncasecmp for AVX on x86-64.
   Implemented by Ulrich Drepper.
+
+* New Linux interfaces: process_vm_readv, process_vm_writev
 
 Version 2.14
 
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 3a3e8e8..7f2f1b9 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -163,6 +163,9 @@ libc {
 
     sendmmsg;
   }
+  GLIBC_2.15 {
+    process_vm_readv; process_vm_writev;
+  }
   GLIBC_PRIVATE {
     # functions used in other libraries
     __syscall_rt_sigqueueinfo;
diff --git a/sysdeps/unix/sysv/linux/bits/uio.h b/sysdeps/unix/sysv/linux/bits/uio.h
index 6a283ed..ea850c8 100644
--- a/sysdeps/unix/sysv/linux/bits/uio.h
+++ b/sysdeps/unix/sysv/linux/bits/uio.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2006, 2011 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
@@ -48,3 +48,26 @@ struct iovec
   };
 
 #endif
+
+#if defined _SYS_UIO_H && !defined _BITS_UIO_H_FOR_SYS_UIO_H
+#define _BITS_UIO_H_FOR_SYS_UIO_H 1
+
+__BEGIN_DECLS
+
+/* Read from another process' address space.  */
+extern ssize_t process_vm_readv (pid_t __pid, __const struct iovec *__lvec,
+				 size_t __liovcnt,
+				 __const struct iovec *__rvec,
+				 size_t __riovcnt, unsigned long int __flags)
+  __THROW;
+
+/* Write to another process' address space.  */
+extern ssize_t process_vm_writev (pid_t __pid, __const struct iovec *__lvec,
+				  size_t __liovcnt,
+				  __const struct iovec *__rvec,
+				  size_t __riovcnt, unsigned long int __flags)
+  __THROW;
+
+__END_DECLS
+
+#endif
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 2bed9e9..f6e6653 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -109,3 +109,6 @@ name_to_handle_at EXTRA	name_to_handle_at i:isppi name_to_handle_at
 open_by_handle_at EXTRA	open_by_handle_at Ci:ipi  open_by_handle_at
 
 setns		EXTRA	setns		i:ii	setns
+
+process_vm_readv EXTRA	process_vm_readv i:ipipii process_vm_readv
+process_vm_writev EXTRA	process_vm_writev i:ipipii process_vm_writev

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                             |    7 +++++++
 NEWS                                  |    4 +++-
 sysdeps/unix/sysv/linux/Versions      |    3 +++
 sysdeps/unix/sysv/linux/bits/uio.h    |   25 ++++++++++++++++++++++++-
 sysdeps/unix/sysv/linux/syscalls.list |    3 +++
 5 files changed, 40 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]