aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorHans Rosenfeld <rosenfeld@grumpf.hope-2000.org>2024-09-09 08:42:42 +0000
committerCorvin Köhne <corvink@FreeBSD.org>2024-10-22 12:04:23 +0000
commitbc3d09e90b8625f17017663fad3e049348b04ded (patch)
tree8cc3cb9ef44f2312801c86e23962f00f23cbb2a1 /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
parent2feea221b2480f9f97b3bc0f47510b5bdec96b79 (diff)
bhyve: TPM CRB: pass actual TPM request length to backend execute_cmd()
The TPM spec (TPM Library, Part3: Commands, Section 5.2: Command Header Validation) requires that no more bytes are written than the size of the commands, as given in the request header. Thus the TPM CRB interface needs to get the command size from the request header and pass that to the emulation backend. As the guest OS driver can set the address and size of the command and response buffers freely within the limits of the provided CRB data buffer, bhyve should verify that the values set in the corresponding registers make sense before processing a command. Reviewed by: corvink MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D46564
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions