Page MenuHomeFreeBSD

xinstall: Don't use UF_SETTABLE to infer whether st_flags is present
ClosedPublic

Authored by jrtc27 on Apr 29 2025, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 11, 5:35 AM
Unknown Object (File)
Thu, Sep 10, 11:59 AM
Unknown Object (File)
Tue, Sep 8, 11:47 PM
Unknown Object (File)
Tue, Sep 8, 5:34 PM
Unknown Object (File)
Sun, Sep 6, 4:13 AM
Unknown Object (File)
Sat, Sep 5, 3:36 PM
Unknown Object (File)
Sat, Sep 5, 6:16 AM
Unknown Object (File)
Sat, Sep 5, 5:18 AM
Subscribers

Details

Summary

A future commit will add definitions of these for use in bootstrap tools
on Linux, but struct stat will still be the host's that lacks st_flags.
Switch this to just check for Linux instead, matching nbtool_config.h.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable