Go to file
Adhemerval Zanella 4751bbe2ad Fix p{readv,writev}{64} consolidation implementation
This patch fixes the p{readv,writev}{64} consolidation implementation
from commits 4e77815 and af5fdf5.  Different from pread/pwrite
implementation, preadv/pwritev implementation does not require
__ALIGNMENT_ARG because kernel syscall prototypes define
the high and low part of the off_t, if it is the case, directly
(different from pread/pwrite where the architecture ABI for passing
64-bit values must be in consideration for passsing the arguments).

It also adds some basic tests for preadv/pwritev.

Tested on x86_64, i686, and armhf.

	* misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
	* misc/tst-preadvwritev.c: New file.
	* misc/tst-preadvwritev64.c: Likewise.
	* sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
	usage.
	* sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
	* sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
	* sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
	* sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2016-06-21 11:29:18 -03:00
argp
assert
benchtests Clear destination buffer updated by the previous run 2016-05-18 05:51:59 -07:00
bits Make padding in struct sockaddr_storage explicit [BZ #20111] 2016-05-23 19:43:09 +02:00
catgets
conform Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
crypt
csu
ctype
debug debug/tst-longjmp_chk2: Make signal handler more conservative [BZ #20248] 2016-06-13 16:36:46 +02:00
dirent
dlfcn tst-rec-dlopen: Fix build fail due to missing inclusion of string.h 2016-06-06 11:03:04 +02:00
elf Reduce number of mmap calls from __libc_memalign in ld.so 2016-04-23 06:05:15 -07:00
gmon
gnulib
grp NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
gshadow
hesiod hesiod: Avoid heap overflow in get_txt_records [BZ #20031] 2016-05-02 16:04:32 +02:00
hurd
iconv Fix UTF-16 surrogate handling. [BZ #19727] 2016-05-25 17:18:06 +02:00
iconvdata Fix UTF-16 surrogate handling. [BZ #19727] 2016-05-25 17:18:06 +02:00
include Revert __malloc_initialize_hook symbol poisoning 2016-06-20 11:11:29 +02:00
inet Fix macro API for __USE_KERNEL_IPV6_DEFS. 2016-06-02 23:52:06 -04:00
intl
io 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
libidn
libio 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
locale localedef: drop unused --old-style 2016-06-11 01:37:04 -04:00
localedata localedata: ro_RO: update Tuesday translation [BZ #18911] 2016-06-16 01:28:42 -04:00
login 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
mach mach: Add mach_print sycsall declaration 2016-06-09 01:43:49 +02:00
malloc Revert __malloc_initialize_hook symbol poisoning 2016-06-20 11:11:29 +02:00
manual Add nextup and nextdown math functions 2016-06-16 21:37:45 +05:30
math Add nextup and nextdown math functions 2016-06-16 21:37:45 +05:30
mathvec
misc Fix p{readv,writev}{64} consolidation implementation 2016-06-21 11:29:18 -03:00
nis
nptl nptl: Add sendmmsg and recvmmsg cancellation tests 2016-06-13 13:37:24 -03:00
nptl_db
nscd Fix nscd assertion failure in gc (bug 19755) 2016-06-09 09:57:40 +02:00
nss nss_db: Fix initialization of iteration position [BZ #20237] 2016-06-11 12:12:56 +02:00
po
posix 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
pwd
resolv resolv: Call gmtime_r instead of gmtime in p_secstodate [BZ #20017] 2016-05-10 10:50:24 +02:00
resource
rt Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog 2016-06-11 14:59:27 -07:00
scripts Add more hurd exception to local headers list 2016-05-30 19:03:01 +02:00
setjmp
shadow
signal
socket
soft-fp
stdio-common libio: Fix fmemopen append mode failure (BZ# 20012) 2016-04-29 19:25:17 -03:00
stdlib quick_exit tests: Do not use C++ headers 2016-06-09 12:09:43 +02:00
streams
string Clear destination buffer updated by the previous run 2016-05-18 05:51:59 -07:00
sunrpc CVE-2016-4429: sunrpc: Do not use alloca in clntudp_call [BZ #20112] 2016-05-23 20:18:34 +02:00
sysdeps Fix p{readv,writev}{64} consolidation implementation 2016-06-21 11:29:18 -03:00
sysvipc
termios Declare tcgetsid for XPG4 (bug 20055). 2016-05-11 18:05:37 +00:00
time
timezone
wcsmbs
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
BUGS
ChangeLog Fix p{readv,writev}{64} consolidation implementation 2016-06-21 11:29:18 -03:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
ChangeLog.old-ports
ChangeLog.old-ports-aarch64
ChangeLog.old-ports-aix
ChangeLog.old-ports-alpha
ChangeLog.old-ports-am33
ChangeLog.old-ports-arm
ChangeLog.old-ports-cris
ChangeLog.old-ports-hppa
ChangeLog.old-ports-ia64
ChangeLog.old-ports-linux-generic
ChangeLog.old-ports-m68k
ChangeLog.old-ports-microblaze
ChangeLog.old-ports-mips
ChangeLog.old-ports-powerpc
ChangeLog.old-ports-tile
config.h.in S390: Configure check for vector support in gcc. 2016-05-25 17:18:04 +02:00
config.make.in
configure Avoid an extra branch to PLT for -z now 2016-05-24 08:44:23 -07:00
configure.ac Avoid an extra branch to PLT for -z now 2016-05-24 08:44:23 -07:00
CONFORMANCE
COPYING
COPYING.LIB
cppflags-iterator.mk
extra-lib.mk
extra-modules.mk
gen-locales.mk
INSTALL 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-05 08:41:13 -07:00
libc-abis
LICENSES
Makeconfig
Makefile
Makefile.in New make target to only build benchmark binaries 2016-04-20 10:23:28 +05:30
Makerules
NAMESPACE
NEWS Add nextup and nextdown math functions 2016-06-16 21:37:45 +05:30
o-iterator.mk
PROJECTS
README
Rules New make target to only build benchmark binaries 2016-04-20 10:23:28 +05:30
shlib-versions
test-skeleton.c 2016-06-09 Paul Pluzhnikov <ppluzhnikov@gmail.com> 2016-06-08 21:36:37 -07:00
version.h
WUR-REPORT

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later on all architectures except
i[4567]86 and x86_64, where Linux kernel version 2.6.32 or later
suffices.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arm-*-linux-gnueabi
	hppa-*-linux-gnu	Not currently functional without patches.
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu
	tilepro-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.