Adhemerval Zanella
f6e616435d
linux: Consolidate statfs implementations
...
The __NR_statfs64 syscall is supported on all architectures but
aarch64, mips64, riscv64, and x86_64. And newer ABIs also uses
the new statfs64 interface (where the struct size is used as
second argument).
So the default implementation now uses:
1. __NR_statfs64 for non-LFS call and handle overflow directly
There is no need to handle __NR_statfs since all architectures
that only support are LFS only.
2. __NR_statfs if defined or __NR_statfs64 otherwise for LFS
call.
Alpha is the only outlier, since it is a 64-bit architecture which
provides non-LFS interface and only provides __NR_statfs64 on
newer kernels (v5.1+).
Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com >
2021-02-11 08:00:11 -03:00
..
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2019-03-07 20:20:25 +00:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-12-16 02:08:52 +00:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-02-11 07:58:31 -03:00
2021-02-11 07:58:31 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2018-04-19 08:49:52 -03:00
2018-04-19 08:49:52 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2017-09-25 18:04:16 -07:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2017-11-09 05:10:03 -08:00
2018-12-18 19:52:21 -02:00
2020-12-21 09:09:43 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-02-15 11:01:23 +01:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-10-09 17:02:06 -03:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-06-19 12:08:47 -03:00
2018-05-04 15:46:32 +00:00
2020-05-20 20:27:49 +02:00
2018-05-04 15:46:32 +00:00
2019-09-04 14:39:38 +02:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-02-15 11:01:23 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-04-21 14:01:58 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-02-11 08:00:11 -03:00
2021-02-11 08:00:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-02-11 08:00:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2017-08-30 22:02:04 +00:00
2020-07-07 14:10:58 -03:00
2021-01-02 12:17:34 -08:00
2021-01-05 11:22:25 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-10-09 17:02:06 -03:00