https://bugs.kde.org/show_bug.cgi?id=507866

            Bug ID: 507866
           Summary: fanotify_mark dirfd isn't checked
    Classification: Developer tools
           Product: valgrind
      Version First 3.25 GIT
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
                CC: ahajk...@redhat.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to