Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel - Vet b_cmd in swap_pager_strategy().
* swap_pager_strategy() needs to properly vet b_cmd. This doesn't fix any bugs per-say, but is needed for robustness to ensure that the code does not accidently corrupt the swapcache in a later evolution.
- Loading branch information
Matthew Dillon
committed
Feb 14, 2018
1 parent
8319957
commit 00639b5
Showing
2 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters