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

            Bug ID: 507868
           Summary: futimesat doesn't handle AT_FDCWD
    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: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Like other "at" syscalls fd can have the special value AT_FDCWD which is an
"invalid file descriptor".

The LTP futimesat01 testcase shows:

==695142== Warning: invalid file descriptor -100 in syscall futimesat()
futimesat01    5  TFAIL  :  futimesat01.c:85: futimesat() failed:
TEST_ERRNO=EBADF(9): Bad file descriptor

There is no LTP testcase for it, but if pathname is absolute, then fd is
ignored.

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

Reply via email to