Go to file
Adhemerval Zanella fdbb0d98ba posix: Consolidate Linux fsync syscall
This patch consolidates the fsync Linux syscall generation on
sysdeps/unix/sysv/linux/fsync.c.  It basically removes it from
architectures auto-generation list.

For arm it also removes the __errno_location call since fsync
is not called with SYSCALL_CANCEL with call arch-specific
INLINE_SYSCALL macro which in turn will call __set_errno macro
(and setting errno directly).

Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
arch64-linux-gnu, arm-linux-gnueabihf, powerpc64le-linux-gnu,
sparc64-linux-gnu, and sparcv9-linux-gnu.

	* misc/Makefile (CFLAGS-fsync.c): New flag.
	* nptl/Makefile (CFLAGS-fsync.c): Likewise.
	* sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
	syscall list.
	* sysdeps/unix/sysv/linux/fsync.c: New file.
	* sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
	(__errno_location): Remove.
2017-05-18 18:06:47 -03:00
argp
assert
benchtests Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
bits float128: Add public _Float128 declarations to libm. 2017-05-15 10:08:56 -03:00
catgets
conform Fix network headers stdint.h namespace (bug 21455). 2017-05-04 20:36:42 +00:00
crypt
csu Assume that O_NOFOLLOW is always defined 2017-04-13 21:28:18 +02:00
ctype Remove C++ namespace handling from glibc headers. 2017-03-16 13:31:57 +00:00
debug Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
dirent support: Prevent multiple deletion of temporary files 2017-05-08 16:20:40 +02:00
dlfcn
elf Reduce value of LD_HWCAP_MASK for tst-env-setuid test case 2017-05-19 01:42:01 +05:30
gmon Assume that O_NOFOLLOW is always defined 2017-04-13 21:28:18 +02:00
gnulib
grp
gshadow
hesiod
hurd
iconv Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
iconvdata Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
include float128: Add private _Float128 declarations for libm. 2017-05-15 10:23:28 -03:00
inet Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
intl Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
io Consolidate Linux write syscall 2017-05-11 17:27:30 -03:00
libidn
libio Remove _IO_MTSAFE_IO from public headers. 2017-05-11 19:14:11 -04:00
locale Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
localedata Bug 20686: Add el_GR@euro support. 2017-05-03 15:37:04 -04:00
login Assume that O_CLOEXEC is always defined and works 2017-04-18 14:56:51 +02:00
mach
malloc Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
manual manual: Convert @tables of annotated @items to @vtables. 2017-05-18 00:44:06 -07:00
math float128: Extend __MATH_TG for float128 support 2017-05-17 18:59:23 -03:00
mathvec
misc posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
nis Create more sockets with SOCK_CLOEXEC [BZ #15722] 2017-04-19 07:45:04 +02:00
nptl posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
nptl_db Narrowing the visibility of libc-internal.h even further. 2017-03-01 20:33:46 -05:00
nscd Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
nss Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
po
posix posix: Consolidate Linux nanosleep syscall 2017-05-18 18:06:47 -03:00
pwd
resolv inet_pton: Reformat in GNU style 2017-05-11 14:48:51 +02:00
resource
rt
scripts tunables: Specify a default value for tunables 2017-05-17 13:11:00 +05:30
setjmp Remove C++ namespace handling from glibc headers. 2017-03-16 13:31:57 +00:00
shadow Assume that O_CLOEXEC is always defined and works 2017-04-18 14:56:51 +02:00
signal Fix signal.h bsd_signal namespace (bug 21445). 2017-05-04 17:38:05 +00:00
socket Fix sys/socket.h namespace issues from sys/uio.h inclusion (bug 21426). 2017-04-25 17:52:47 +00:00
soft-fp Narrowing the visibility of libc-internal.h even further. 2017-03-01 20:33:46 -05:00
stdio-common vfprintf.c: Refactor magic number 32 into EXTSIZ. 2017-05-08 16:13:16 -04:00
stdlib Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
streams
string Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
sunrpc Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
support support_format_addrinfo: Fix flags and canonname formatting 2017-05-11 11:51:34 +02:00
sysdeps posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
sysvipc
termios
time Remove C++ namespace handling from glibc headers. 2017-03-16 13:31:57 +00:00
timezone
wcsmbs Do not use wildcard symbol names for public versions in Versions files. 2017-04-20 20:35:21 +00:00
wctype Remove C++ namespace handling from glibc headers. 2017-03-16 13:31:57 +00:00
.gitattributes
.gitignore
abi-tags
aclocal.m4
BUGS
ChangeLog posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -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: fix BZ style to be consistent and match majority of existing code 2017-04-03 15:18:07 -04:00
ChangeLog.old-ports-am33
ChangeLog.old-ports-arm
ChangeLog.old-ports-cris
ChangeLog.old-ports-hppa ChangeLog: fix BZ style to be consistent and match majority of existing code 2017-04-03 15:18:07 -04:00
ChangeLog.old-ports-ia64
ChangeLog.old-ports-linux-generic
ChangeLog.old-ports-m68k
ChangeLog.old-ports-microblaze
ChangeLog.old-ports-mips ChangeLog: fix BZ style to be consistent and match majority of existing code 2017-04-03 15:18:07 -04:00
ChangeLog.old-ports-powerpc
ChangeLog.old-ports-tile
config.h.in Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
config.make.in Deprecate libnsl by default (only shared library will be 2017-03-21 15:14:27 +01:00
configure Deprecate libnsl by default (only shared library will be 2017-03-21 15:14:27 +01:00
configure.ac Deprecate libnsl by default (only shared library will be 2017-03-21 15:14:27 +01:00
CONFORMANCE
COPYING
COPYING.LIB
extra-lib.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
gen-locales.mk
INSTALL Assume that accept4 is always available and works 2017-04-19 07:44:48 +02:00
libc-abis
libof-iterator.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
LICENSES
MAINTAINERS Add MAINTAINERS 2017-05-11 13:38:30 -04:00
Makeconfig Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
Makefile Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
Makefile.in
Makerules Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
NAMESPACE
NEWS Remove <sys/ultrasound.h> 2017-05-08 14:59:21 +02:00
o-iterator.mk
README Require Linux kernel 3.2 or later on x86 / x86_64. 2017-05-08 10:45:20 +00:00
README.pretty-printers
README.tunables tunables: Add support for tunables of uint64_t type 2017-05-17 13:11:55 +05:30
Rules Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
shlib-versions
test-skeleton.c
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.

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.