commit 00639b5df9c853cf6136257b6c6db6739c3ba189
Author: Matthew Dillon <dil...@apollo.backplane.com>
Date:   Wed Feb 14 11:53:40 2018 -0800

    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.

Summary of changes:
 sys/kern/vfs_bio.c  |  2 ++
 sys/vm/swap_pager.c | 44 +++++++++++++++++++++++++++++++++-----------
 2 files changed, 35 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/00639b5df9c853cf6136257b6c6db6739c3ba189


-- 
DragonFly BSD source repository

Reply via email to