Page MenuHomeFreeBSD

loader: F_READ/F_WRITE should be checked against masked flag
ClosedPublic

Authored by tsoome on Apr 18 2017, 5:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 15, 1:11 AM
Unknown Object (File)
Tue, Nov 25, 11:46 PM
Unknown Object (File)
Sun, Nov 23, 9:11 AM
Unknown Object (File)
Nov 22 2025, 1:40 PM
Unknown Object (File)
Nov 21 2025, 7:52 AM
Unknown Object (File)
Nov 21 2025, 7:50 AM
Unknown Object (File)
Nov 21 2025, 7:47 AM
Unknown Object (File)
Nov 21 2025, 7:45 AM
Subscribers

Details

Summary

The work to make it possible to avoid bcache via using F_NORA modifier did
miss the fact that not all loader platforms are using the bcache, and so
it is possible the modifier is not cleared, as bcache strategy function is
not used.

For fix, we make sure the checks are dont with masked flag.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable