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)
Tue, Oct 22, 3:52 PM
Unknown Object (File)
Tue, Oct 22, 3:52 PM
Unknown Object (File)
Tue, Oct 22, 3:52 PM
Unknown Object (File)
Tue, Oct 22, 3:32 PM
Unknown Object (File)
Oct 3 2024, 2:27 PM
Unknown Object (File)
Oct 3 2024, 12:14 AM
Unknown Object (File)
Sep 18 2024, 9:06 PM
Unknown Object (File)
Sep 18 2024, 9:38 AM
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