Page MenuHomeFreeBSD

stand: Add macros for file types from stat
ClosedPublic

Authored by imp on Jan 6 2023, 5:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 27, 2:47 AM
Unknown Object (File)
Feb 10 2026, 5:07 PM
Unknown Object (File)
Feb 8 2026, 12:35 PM
Unknown Object (File)
Feb 8 2026, 2:42 AM
Unknown Object (File)
Jan 31 2026, 1:08 AM
Unknown Object (File)
Jan 13 2026, 11:00 PM
Unknown Object (File)
Dec 17 2025, 1:54 PM
Unknown Object (File)
Nov 28 2025, 2:48 PM
Subscribers

Details

Summary

Add the familiar macros for file types for stat's st_mode
member. Prepend HOST_ to the start of these. Make sure all the values
match the linux nolibc and uapi headers. These values seem to be quite
similar to FreeBSD's native values though...

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48978
Build 45867: arc lint + arc unit