Project

General

Profile

Submit #2818

Add utimensat() support

Added by stateless about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Kernel
Target version:
Start date:
05/21/2015
Due date:
% Done:

0%


Description

There is more work to be done in this area. The next step is to
convert kern_utimes() to work on a timespec structure and update callers
to use timespec.

The last step is to add support for futimens(2) on top of the refactored
kern_utimes().

I've tried to test all corner-cases in this patch. It seems to work but more
eyes would be helpful.

0001-Add-utimensat-support.patch View (14.7 KB) stateless, 05/22/2015 05:31 AM

0001-kernel-Implement-kern_utimes-on-top-of-kern_utimensa.patch View (6.31 KB) stateless, 05/26/2015 03:58 AM


Subtasks

Bug #2817: Permission checking for utimes(2) and friends are not properly honouredNewdillon

History

#1 Updated by stateless about 2 years ago

  • File deleted (0001-Add-utimensat-support.patch)

#3 Updated by dillon about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to dillon

Patch committed. Lets leave this bug report open for now for further related patches.

-Matt

#5 Updated by stateless about 2 years ago

stateless wrote:
> There is more work to be done in this area. The next step is to
> convert kern_utimes() to work on a timespec structure and update callers
> to use timespec.
>
> The last step is to add support for futimens(2) on top of the refactored
> kern_utimes().
>
> I've tried to test all corner-cases in this patch. It seems to work but more
> eyes would be helpful.

It seems to make more sense to implement kern_utimes() on top of kern_utimensat().

#6 Updated by swildner over 1 year ago

  • Status changed from Feedback to Closed

Closing, all of this has been pushed.

Also available in: Atom PDF