https://bugs.kde.org/show_bug.cgi?id=506928
Bug ID: 506928
Summary: ustat syscall not wrapped
Classification: Developer tools
Product: valgrind
Version First 3.25.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The ustat syscall is deprecated, but might still be used.
LTP contains two tests for it ustat01 and ustat02
https://www.man7.org/linux/man-pages/man2/ustat.2.html
coregrind/m_syswrap/syswrap-mips64-linux.c does contain a PRE(sys_ustat) but
doesn't actually check the ustat buffer and doesn't have a POST handler.
Note that the struct ustat has two fields which differ on some architectures.
f_tfree is a long on sparc and mips, but an int on all others.
f_tinode is an unsigned int on alpha and s390, but unsigned long on all others.
char f_fname[6] and char f_fpack[6] are the same everywhere, but unused (filled
with zeros).
--
You are receiving this mail because:
You are watching all bug changes.