Bug 240158

Summary: utimensat system call (and C API) should allow more than 2 timestamps, to simplify changing birth time
Product: Base System Reporter: Sean McBride <sean>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Many People    
Priority: ---    
Version: 12.0-RELEASE   
Hardware: Any   
OS: Any   

Description Sean McBride 2019-08-28 02:40:29 UTC
The utimensat() man page says:

"To set both a birth time and a modification time, two calls are required; the first to set the birth time and the second to set the (presumably newer) modification time.  Ideally a new system call will be added that allows the setting of all three times at once."

Such a newer system call would indeed simplify changing the birthtime of a file, which currently is rather complicated to edit.

I can't find any existing bug for this, so thought I'd create one...