Bug 486569 - linux inotify_init syscall wrapper missing POST entry in syscall_table
Summary: linux inotify_init syscall wrapper missing POST entry in syscall_table
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.22 GIT
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Floyd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-04 12:58 UTC by Paul Floyd
Modified: 2024-05-07 07:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Floyd 2024-05-04 12:58:54 UTC
From the developers mailing list

Daniel Pouzzner

coregrind/m_syswrap/syswrap-amd64-linux.c and friends have

   LINX_(__NR_inotify_init,  sys_inotify_init),

but it's supposed to be

   LINXY(__NR_inotify_init,	 sys_inotify_init),

(POST(sys_inotify_init) is already properly defined and works right.)

Interestingly, this bug only became apparent with release 3.23.0.  v3.22.0 has
the same behavior around PRE/POST -- no call to POST(sys_inotify_init) -- but
doesn't generate any false positive "already closed" errors.
Comment 1 Paul Floyd 2024-05-07 07:39:36 UTC
commit b38115cc6087f30f872c533f93c7c31a6d73eb24
Author: Paul Floyd <pjfloyd@wanadoo.fr>
Date:   Sat May 4 15:03:11 2024 +0200

    Bug 486569 - linux inotify_init syscall wrapper missing POST entry in syscall_table