[Bug 240158] utimensat system call (and C API) should allow more than 2 timestamps, to simplify changing birth time

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 28 02:40:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240158

            Bug ID: 240158
           Summary: utimensat system call (and C API) should allow more
                    than 2 timestamps, to simplify changing birth time
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: sean at rogue-research.com

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...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list