aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaul Durrant <[email protected]>2024-02-15 15:28:59 +0000
committerSean Christopherson <[email protected]>2024-02-20 07:37:42 -0800
commit78b74638eb6dffd9b24bc3b121556a9039292df6 (patch)
tree09271b54a01b1410b5a59e91913871af9e2fae99 /lib/test_fortify/write_overflow-strncpy-src.c
parent4438355ec6e165f73357203e0792079dec9e3059 (diff)
KVM: pfncache: add a mark-dirty helper
At the moment pages are marked dirty by open-coded calls to mark_page_dirty_in_slot(), directly deferefencing the gpa and memslot from the cache. After a subsequent patch these may not always be set so add a helper now so that caller will protected from the need to know about this detail. Signed-off-by: Paul Durrant <[email protected]> Reviewed-by: David Woodhouse <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: decrease indentation, use gpa_to_gfn()] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions