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)
Mon, Aug 4, 4:51 PM
Unknown Object (File)
Sun, Aug 3, 5:37 AM
Unknown Object (File)
Sat, Aug 2, 11:45 PM
Unknown Object (File)
Wed, Jul 23, 3:21 PM
Unknown Object (File)
Jul 1 2025, 3:57 AM
Unknown Object (File)
Jun 26 2025, 7:50 AM
Unknown Object (File)
Jun 24 2025, 4:22 AM
Unknown Object (File)
Jun 18 2025, 9:38 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 Not Applicable
Unit
Tests Not Applicable