| Summary: | fanotify_mark dirfd isn't checked | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | general | Assignee: | Paul Floyd <pjfloyd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahajkova, pjfloyd |
| Priority: | NOR | ||
| Version First Reported In: | 3.25 GIT | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
On 32bit platforms fanotify_fd wasn't checked either. commit 5f753c39ea6285fec27cc68cbaf6a629c5051f23 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sun Aug 31 08:21:23 2025 +0200 Bug 507866 - fanotify_mark dirfd isn't checked |
int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dirfd, const char *_Nullable pathname); The PRE handler in coregrind/m_syswrap/syswrap-linux.c only check fd, not dirfd. Note that: - dirfd may be AT_FDCWD. - if pathname is absolute, then dirfd is ignored.