[PATCH 2/8] Consolidate Linux open implementation
Andreas Schwab
schwab@suse.de
Thu May 11 15:06:00 GMT 2017
On Mai 08 2017, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
> This patch consolidates the open Linux syscall implementation on
> sysdeps/unix/sysv/linux/open{64}.c. The changes are:
>
> 1. Remove open{64} from auto-generation syscalls.list.
> 2. Add a new open{64}.c implementation. For architectures that
> define __OFF_T_MATCHES_OFF64_T the default open64 will create
> alias to required open symbols.
> 3. Use __NR_open where possible, otherwise use __NR_openat.
Perhaps we should use __NR_openat unconditionally? (Even 2.6.32 already
had it.)
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list