summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Protocol/SimpleFileSystem.h
diff options
context:
space:
mode:
authorMichael Brown2021-03-03 01:34:02 +0100
committerMichael Brown2021-03-03 02:01:58 +0100
commit69ecab2634d3f5a825e0baaa310ba048d5aed3b5 (patch)
treee3a8a0415394c75e0ef679b83b4d7032f7df61fa /src/include/ipxe/efi/Protocol/SimpleFileSystem.h
parent[linux] Use generic sysfs mechanism to read SMBIOS table (diff)
downloadipxe-69ecab2634d3f5a825e0baaa310ba048d5aed3b5.tar.gz
ipxe-69ecab2634d3f5a825e0baaa310ba048d5aed3b5.tar.xz
ipxe-69ecab2634d3f5a825e0baaa310ba048d5aed3b5.zip
[linux] Use fstat() rather than statx()
The statx() system call has a clean header file and a consistent layout, but was unfortunately added only in kernel 4.11. Using stat() or fstat() directly is extremely messy since glibc does not necessarily use the kernel native data structures. However, as the only current use case is to obtain the length of an open file, we can merely provide a wrapper that does precisely this. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions