Bug 240158 - utimensat system call (and C API) should allow more than 2 timestamps, to simplify changing birth time
Summary: utimensat system call (and C API) should allow more than 2 timestamps, to sim...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 02:40 UTC by Sean McBride
Modified: 2019-08-28 02:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...