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
F152378218: D10422.id27526.diff
Tue, Apr 14, 1:49 PM
Unknown Object (File)
Sat, Apr 11, 2:01 PM
Unknown Object (File)
Sat, Apr 11, 7:22 AM
Unknown Object (File)
Fri, Apr 10, 6:37 AM
Unknown Object (File)
Sun, Apr 5, 4:45 PM
Unknown Object (File)
Sat, Apr 4, 6:26 AM
Unknown Object (File)
Tue, Mar 24, 10:00 PM
Unknown Object (File)
Wed, Mar 18, 5:19 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