diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2023-10-07 21:02:18 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-11-06 13:44:53 -0500 |
commit | 2265a4c9b0825306794eeb0812c783692313d972 (patch) | |
tree | a874f78601910223cdbb05dfbfc4a2e08e5c4857 /src/multibyte/c32rtomb.c | |
parent | 2d84486a08c57d00b647586b7cbe2dcec2728e81 (diff) | |
download | musl-2265a4c9b0825306794eeb0812c783692313d972.tar.gz musl-2265a4c9b0825306794eeb0812c783692313d972.tar.xz musl-2265a4c9b0825306794eeb0812c783692313d972.zip |
pass AT_NO_AUTOMOUNT when emulating fstatat via statx
AT_NO_AUTOMOUNT is implied for stat/lstat/fstatat syscalls since Linux 3.1 (commit b6c8069d3577481390b3f24a8434ad72a3235594). However, this is not the case for statx syscall, which defaults to automounting, so this flag must be passed explicitly when statx is used to implement stat-like functions. This change affects only arches which use 32-bit seconds in struct kstat, as well as out-of-tree/future ports to arches which lack SYS_fstatat.
Diffstat (limited to 'src/multibyte/c32rtomb.c')
0 files changed, 0 insertions, 0 deletions