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.23-561-gf531f93


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  f531f93056b34800383c5154280e7ba5112563c7 (commit)
      from  3bbee82a56b38fc4ee28ecb59721ea1d42494642 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f531f93056b34800383c5154280e7ba5112563c7

commit f531f93056b34800383c5154280e7ba5112563c7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 12 09:21:36 2016 -0700

    x86-64: Add p{read,write}[v]64 to syscalls.list [BZ #20348]
    
    64-bit off_t in pread64, preadv, pwrite64 and pwritev syscalls is passed
    in one 64-bit register for both x32 and x86-64.  Since the inline
    asm statement only passes long, which is 32-bit for x32, in registers,
    64-bit off_t is truncated to 32-bit on x32.  Since __ASSUME_PREADV and
    __ASSUME_PWRITEV are defined unconditionally, these syscalls can be
    implemented in syscalls.list to pass 64-bit off_t in one 64-bit register.
    
    Tested on x86-64 and x32 with off_t > 4GB on pread64/pwrite64 and
    preadv64/pwritev64.
    
    	[BZ #20348]
    	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
    	preadv64, pwrite64 and pwritev64.

diff --git a/ChangeLog b/ChangeLog
index a93884a..e9ab885 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
 
+	[BZ #20348]
+	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
+	preadv64, pwrite64 and pwritev64.
+
+2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
 	[BZ #20350]
 	* posix/tst-preadwrite.c: Renamed to ...
 	* posix/tst-preadwrite-common.c: This.
diff --git a/sysdeps/unix/sysv/linux/x86_64/syscalls.list b/sysdeps/unix/sysv/linux/x86_64/syscalls.list
index d09d101..bcf6370 100644
--- a/sysdeps/unix/sysv/linux/x86_64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/x86_64/syscalls.list
@@ -6,6 +6,10 @@ msgctl		-	msgctl		i:iip	__msgctl	msgctl
 msgget		-	msgget		i:ii	__msgget	msgget
 msgrcv		-	msgrcv		Ci:ibnii __msgrcv	msgrcv
 msgsnd		-	msgsnd		Ci:ibni	__msgsnd	msgsnd
+pread64		-	pread64		Ci:ipii	__libc_pread	__libc_pread64 __pread64 pread64 __pread pread
+preadv64	-	preadv		Ci:ipii	preadv64	preadv
+pwrite64	-	pwrite64	Ci:ipii	__libc_pwrite	__pwrite64 pwrite64 __pwrite pwrite
+pwritev64	-	pwritev		Ci:ipii	pwritev64	pwritev
 shmat		-	shmat		i:ipi	__shmat		shmat
 shmctl		-	shmctl		i:iip	__shmctl	shmctl
 shmdt		-	shmdt		i:s	__shmdt		shmdt

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

Summary of changes:
 ChangeLog                                    |    6 ++++++
 sysdeps/unix/sysv/linux/x86_64/syscalls.list |    4 ++++
 2 files changed, 10 insertions(+), 0 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]