aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorBrijesh Singh <[email protected]>2024-01-25 22:11:06 -0600
committerBorislav Petkov (AMD) <[email protected]>2024-01-29 17:25:55 +0100
commit94b36bc244bb134ec616dd3f2d37343cd8c1be54 (patch)
tree1e607e72327731e4f108a487b500df58a247bcdd /lib/test_fortify/write_overflow-strncpy.c
parente3fd08afb7c350d5612f113eadfb4ebb6ed08deb (diff)
x86/sev: Add RMP entry lookup helpers
Add a helper that can be used to access information contained in the RMP entry corresponding to a particular PFN. This will be needed to make decisions on how to handle setting up mappings in the NPT in response to guest page-faults and handling things like cleaning up pages and setting them back to the default hypervisor-owned state when they are no longer being used for private data. [ mdr: separate 'assigned' indicator from return code, and simplify function signatures for various helpers. ] Signed-off-by: Brijesh Singh <[email protected]> Co-developed-by: Ashish Kalra <[email protected]> Signed-off-by: Ashish Kalra <[email protected]> Signed-off-by: Michael Roth <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions