507720 Review syscalls returning file descriptors (other platforms)
507721 Wire up illumos and Solaris mallinfo
507853 faccessat and faccessat2 should handle AT_FDCWD and absolute paths
+507866 fanotify_mark dirfd isn't checked
507868 futimesat doesn't handle AT_FDCWD
507869 Various at syscalls don't check dirfd argument
507873 Make fchmodat and fchmodat2 syscall wrappers accept AT_FDCWD
int, dfd, const char *, pathname);
if (ARG5)
PRE_MEM_RASCIIZ( "fanotify_mark(path)", ARG5);
- if ( !ML_(fd_allowed)(SARG1, "fanotify_mark", tid, False) )
- SET_STATUS_Failure( VKI_EBADF );
#else
# error Unexpected word size
#endif
+ if ( !ML_(fd_allowed)(SARG1, "fanotify_mark[fanotify_fd]", tid, False) )
+ SET_STATUS_Failure( VKI_EBADF );
+ ML_(fd_at_check_allowed)(SARG4, (const HChar*)ARG5, "mkdirat[firfd]", tid, status);
}
/* ---------------------------------------------------------------------