]> git.ipfire.org Git - thirdparty/valgrind.git/commit
FreeBSD syscall: add ML_(fd_allowed) check for fstat
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 5 Sep 2025 06:21:32 +0000 (08:21 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 5 Sep 2025 06:21:32 +0000 (08:21 +0200)
commitafd1f088e8a3c8258399a30d73d572b60676cbc5
treea2e238e070306554fc8e0988f3c5e6e0db56a322
parentb06af3d21fe9630a77fd2f9fc2c0e712f5cb78eb
FreeBSD syscall: add ML_(fd_allowed) check for fstat

Also PRE(sys_cap_rights_get) was checking the wrong arg
with ML_(fd_allowed). ARG1 is a version number in the
syscall, ARG2 is the fd.
coregrind/m_syswrap/syswrap-freebsd.c