1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-05-31 15:01:17 +03:00
Adhemerval Zanella bafcba22ac Consolidate Linux openat implementation
This patch consolidates the open Linux syscall implementation on
sysdeps/unix/sysv/linux/open{64}.c.  The changes are:

  1. Remove wordsize-64 openat{64}.
  2. For architetures that define __OFF_T_MATCHES_OFF64_T openat64
     will be default one with alias to required symbols.  Otherwise
     openat64 will pass the required O_LARGEFILE flag on syscall.

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

	* sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
	for !__OFF_T_MATCHES_OFF64_T.
	* sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
	implementation based on open64.
	* sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
	* sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2017-06-20 18:20:06 -03:00
..
2017-05-31 17:35:46 -03:00
2017-06-07 11:11:38 +05:30
2017-05-11 17:27:27 -03:00
2017-05-18 18:06:47 -03:00
2017-05-09 14:05:09 +00:00
2017-05-18 18:06:47 -03:00
2017-05-11 15:49:10 -03:00
2017-05-11 15:49:10 -03:00
2017-05-18 18:06:47 -03:00
2017-05-03 10:36:01 -03:00
2017-05-31 17:35:46 -03:00
2017-05-09 14:05:09 +00:00
2017-05-11 17:27:30 -03:00
2017-05-11 17:27:31 -03:00
2017-03-09 15:22:06 +01:00
2017-03-09 15:22:06 +01:00
2017-03-28 12:29:27 -03:00
2017-05-09 14:05:09 +00:00
2017-05-09 14:05:09 +00:00
2017-03-28 12:29:27 -03:00
2017-03-09 15:22:06 +01:00
2017-03-30 18:23:43 -03:00
2017-05-11 17:27:30 -03:00