[RTEMS Project] #4375: Add futimens() and utimensat()
RTEMS trac
trac at rtems.org
Mon Apr 5 17:59:27 UTC 2021
#4375: Add futimens() and utimensat()
----------------------------+------------------------------
Reporter: Joel Sherrill | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: fs | Version: 6
Severity: normal | Keywords: SoC, file system
Blocked By: | Blocking:
----------------------------+------------------------------
RTEMS currently only supports utimes() which is marked as Legacy in the
POSIX standard. Support needs to be added for futimens() and utimensat()
per the following specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html
utimes() only has second granularity on its times. The newer methods
greatly improve on that even if many of the RTEMS file systems do not
support nanosecond times on the file access, create, etc timestamps.
The following changes have been identified:
* The utimes file handler entry will need to be replaced with a handler
geared to the futimens() API.
* File systems will have to be updated to account for the new handler.
* Existing methods like utimes() will have to be adjusted to be
implemented in terms of the futimens() style method.
* File system test cases will have to be added to the fstests.
--
Ticket URL: <http://devel.rtems.org/ticket/4375>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list