From 3b862e9a9ce59d5dbf0177b9eb293109fde6bf36 Mon Sep 17 00:00:00 2001 From: "Roger A. Faulkner" Date: Tue, 1 Sep 2009 15:37:22 -0700 Subject: PSARC 2009/453 futimens, utimensat 6815302 Implement futimens, utimensat(POSIX.1-2008) -set file modification times with nanosecond granularity 6539657 touch(1) does not set the nanosecond timestamp of a file correctly --- usr/src/uts/common/os/sysent.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/os/sysent.c') diff --git a/usr/src/uts/common/os/sysent.c b/usr/src/uts/common/os/sysent.c index 9377af3791..acc7fe8678 100644 --- a/usr/src/uts/common/os/sysent.c +++ b/usr/src/uts/common/os/sysent.c @@ -132,6 +132,7 @@ int umount(); int umount2(); int unlink(); int utime(); +int utimesys(); int64_t utssys32(); int64_t utssys64(); int uucopy(); @@ -565,7 +566,7 @@ struct sysent sysent[NSYSCALL] = /* 109 */ IF_x86( SYSENT_AP("hrtsys", hrtsys, 5), SYSENT_LOADABLE()), - /* 110 */ SYSENT_LOADABLE(), + /* 110 */ SYSENT_CI("utimesys", utimesys, 5), /* 111 */ SYSENT_CI("sigresend", sigresend, 3), /* 112 */ SYSENT_CL("priocntlsys", priocntlsys, 5), /* 113 */ SYSENT_CL("pathconf", pathconf, 2), @@ -962,7 +963,7 @@ struct sysent sysent32[NSYSCALL] = /* 109 */ IF_x86( SYSENT_AP("hrtsys", hrtsys, 5), SYSENT_LOADABLE32()), - /* 110 */ SYSENT_LOADABLE32(), + /* 110 */ SYSENT_CI("utimesys", utimesys, 5), /* 111 */ SYSENT_CI("sigresend", sigresend, 3), /* 112 */ SYSENT_CI("priocntlsys", priocntlsys, 5), /* 113 */ SYSENT_CI("pathconf", pathconf, 2), -- cgit v1.2.3