[PATCH v2 0/5] Add nanosecond support patch
Ryan Long
ryan.long at oarcorp.com
Thu May 6 19:50:44 UTC 2021
Hi,
Here's the patch set with the recommended changes. Joel, Kinsey, and I
changed the check for the EACCES and added the EPERM case. We believe
that it is correct now.
Thanks,
Ryan
Ryan Long (5):
libcsupport: Added futimens() and utimensat()
libcsupport: Implement utime() in terms of utimensat()
libcsupport: Implement utimes() in terms of utimensat()
psx13: Added tests for utimensat() and futimens()
Change filesystem utime_h handler to utimens_h
bsps/arm/csb337/umon/tfsDriver.c | 2 +-
cpukit/Makefile.am | 6 +-
cpukit/include/rtems/confdefs/libio.h | 4 +-
cpukit/include/rtems/imfs.h | 7 +-
cpukit/include/rtems/libio.h | 21 +-
cpukit/include/rtems/libio_.h | 60 +++-
cpukit/libcsupport/src/__usrenv.c | 9 +-
cpukit/libcsupport/src/futimens.c | 87 +++++
cpukit/libcsupport/src/utime.c | 75 ++--
cpukit/libcsupport/src/utimensat.c | 239 +++++++++++++
cpukit/libcsupport/src/utimes.c | 51 ++-
cpukit/libfs/src/defaults/default_ops.c | 2 +-
cpukit/libfs/src/defaults/default_utime.c | 32 --
cpukit/libfs/src/defaults/default_utimens.c | 33 ++
cpukit/libfs/src/dosfs/msdos_init.c | 11 +-
cpukit/libfs/src/ftpfs/ftpfs.c | 2 +-
cpukit/libfs/src/ftpfs/tftpDriver.c | 2 +-
cpukit/libfs/src/imfs/imfs_init.c | 4 +-
cpukit/libfs/src/imfs/imfs_utime.c | 41 ---
cpukit/libfs/src/imfs/imfs_utimens.c | 42 +++
cpukit/libfs/src/jffs2/src/fs-rtems.c | 11 +-
cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 16 +-
spec/build/cpukit/librtemscpu.yml | 6 +-
testsuites/psxtests/psx13/main.c | 5 +-
testsuites/psxtests/psx13/test.c | 517 ++++++++++++++++++++++++++--
25 files changed, 1084 insertions(+), 201 deletions(-)
create mode 100644 cpukit/libcsupport/src/futimens.c
create mode 100644 cpukit/libcsupport/src/utimensat.c
delete mode 100644 cpukit/libfs/src/defaults/default_utime.c
create mode 100644 cpukit/libfs/src/defaults/default_utimens.c
delete mode 100644 cpukit/libfs/src/imfs/imfs_utime.c
create mode 100644 cpukit/libfs/src/imfs/imfs_utimens.c
--
1.8.3.1
More information about the devel
mailing list