[Webkit-unassigned] [Bug 144989] New: [SOUP] Use st_birthtime on FreeBSD and NetBSD instead of setting xattr

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 23:15:53 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144989

            Bug ID: 144989
           Summary: [SOUP] Use st_birthtime on FreeBSD and NetBSD instead
                    of setting xattr
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

FreeBSD and NetBSD have st_birthtime in struct stat, so we can easily get creation time of files without manually setting xattr. There is existing code for PLATFORM(COCOA), and we can just reuse it.

FreeBSD xattr API is incompatible with Linux xattr API, so GLib doesn't support it. st_birthtime works on both UFS2 and tmpfs.
NetBSD xattr has a compatible interface with Linux xattr, but it is only supported on old filesystem such as UFS1. st_birthtime works on both UFS2 and tmpfs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150514/f5d0cc5e/attachment-0001.html>


More information about the webkit-unassigned mailing list