Skip to content

Commit db94331

Browse files
committed
fixup! fixup! fixup! [LibOS] Implement utime, utimes, utimensat
Signed-off-by: Erica Fu <[email protected]>
1 parent e02d522 commit db94331

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libos/src/sys/libos_file.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -674,10 +674,6 @@ long libos_syscall_utimensat(int dirfd, const char* pathname, const struct times
674674
if (ret < 0)
675675
goto out;
676676

677-
ret = check_permissions(dent, W_OK);
678-
if (ret < 0)
679-
goto out_dent;
680-
681677
time_t atime = 0, mtime = 0;
682678
if (times) {
683679
if (!nsec_valid(times[0].tv_nsec) || !nsec_valid(times[1].tv_nsec))

0 commit comments

Comments
 (0)