Age | Commit message (Collapse) | Author |
|
|
|
|
|
Thanks to https://github.com/include-what-you-use/include-what-you-use
|
|
Flags enums should be plural.
|
|
|
|
|
|
On some configurations (e.g. old Docker with the default seccomp()
profile), statx() fails with EPERM. Consider this to mean statx() is
unsupported, as EPERM is not a documented error code in normal
operation.
Possible fix for https://github.com/alpinelinux/aports/pull/9277
|
|
We can just use bfs_stat() with a NULL at_path.
|
|
|
|
|
|
|
|
|
|
Fixes half of #40.
|
|
And fix -newerXY if the Y time doesn't exist.
|
|
|
|
/sys/fs/cgroup, for example, doesn't return access times from statx().
That shouldn't matter unless we actually need them, so make it not an
error.
|
|
|
|
glibc 2.28 will ship with a wrapper for the statx() system call.
Currently the build is broken against it, because sys/stat.h suddenly
declares all the same types that linux/stat.h does. Fix it by taking
the sys/stat.h ones if they exist.
Fixes #35
|
|
In particular, this caused -fprint to break on Hurd since AT_EMPTY_PATH
is defined and works for some syscalls but not fstatat().
Should fix:
https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hurd-i386&ver=1.2.2-1&stamp=1529920401&raw=0
|
|
Turns out that ia64 and sh4 define all the structures and constants, but
don't actually support the statx() system call itself. So instead of
testing for the constants, just test for the syscall number directly.
Should fix:
https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=ia64&ver=1.2.2-1&stamp=1529917943&raw=0
https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=sh4&ver=1.2.2-1&stamp=1529917893&raw=0
|
|
This lets bfs transparently support the new statx() system call on
Linux, giving it access to file birth times.
|