glibc/sysdeps
Samuel Thibault 7ae60af75b hurd: Factorize at/non-at functions
Non-at functions can be implemented by just calling the corresponding at
function with AT_FDCWD and zero at_flags.

In the linkat case, the at behavior is different (O_NOLINK), so this introduces
__linkat_common to pass O_NOLINK as appropriate.

lstat functions can also be implemented with fstatat by adding
__fstatat64_common which takes a flags parameter in addition to the at_flags
parameter,

In the end this factorizes chmod, chown, link, lstat64, mkdir, readlink,
rename, stat64, symlink, unlink, utimes.

This also makes __lstat, __lxstat64, __stat and __xstat64 directly use
__fstatat64_common instead of __lstat64 or __stat64.
2022-09-17 19:58:30 +00:00
..
aarch64 csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
alpha alpha: Remove _dl_skip_args usage 2022-05-30 16:32:22 -03:00
arc csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
arm arm: Remove nested functionf rom relocate_pc24 2022-08-12 09:46:22 -03:00
csky csky: Remove _dl_skip_args usage 2022-05-30 16:32:33 -03:00
generic elf: Rename _dl_sort_maps parameter from skip to force_first 2022-09-06 07:38:33 +02:00
gnu errlist: add missing entry for EDEADLOCK (bug 29545) 2022-09-08 11:40:24 +02:00
hppa hppa: Remove _dl_skip_args usage (BZ# 29165) 2022-05-30 16:32:35 -03:00
htl htl: Make pthread*_cond_timedwait register wref before releasing mutex 2022-08-22 22:27:24 +02:00
hurd hurd: Fix pthread_kill on exiting/ted thread 2022-01-15 15:11:54 +01:00
i386 i386: Use cmpl instead of cmp 2022-08-05 09:28:39 -03:00
ia64 grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
ieee754 Ensure calculations happen with desired rounding mode in y1lf128 2022-08-18 12:32:18 +12:00
loongarch LoongArch: Add soft float support. 2022-09-01 09:10:08 +08:00
m68k m68k: optimize RTLD_START 2022-06-25 00:22:02 +02:00
mach hurd: Factorize at/non-at functions 2022-09-17 19:58:30 +00:00
microblaze microblaze: Remove _dl_skip_args usage 2022-05-30 16:33:14 -03:00
mips mips: Remove _dl_skip_args usage 2022-05-30 16:33:16 -03:00
nios2 Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 13:02:17 -07:00
nptl Use relaxed atomics since there is no MO dependence 2022-09-13 11:58:07 +01:00
or1k csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
posix posix: Fix macro expansion producing 'defined' has undefined behavior 2022-08-30 08:40:47 -03:00
powerpc arc4random: simplify design for better safety 2022-07-27 08:58:27 -03:00
pthread Do not define static_assert or thread_local in headers for C2x 2022-09-07 18:39:28 +00:00
riscv riscv: Update rv64 libm test ulps 2022-07-27 10:50:20 -03:00
s390 s390: Move hwcaps/platform names out of _rtld_global_ro 2022-08-25 21:33:12 +02:00
sh sh: Remove _dl_skip_args usage 2022-05-30 16:33:28 -03:00
sparc Makeconfig: Set pie-ccflag to -fPIE by default [BZ# 29514] 2022-08-29 09:03:00 -04:00
unix RISC-V: Allow long jumps to __syscall_error 2022-09-16 23:25:45 -04:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86 math: x86: Use prefix for FP_INIT_ROUNDMODE 2022-09-05 10:54:41 -03:00
x86_64 nptl: x86_64: Use same code for CURRENT_STACK_FRAME and stackinfo_get_sp 2022-08-31 09:04:27 -03:00