summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-10 22:14:06 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-10 22:14:06 +0000
commit7cf332a4ac9f7664df5ede090595c4d0f2600af2 (patch)
tree06956b99cada6659761f056c29048e89f2e425b6 /pkg/sentry/arch
parent2a3cdf7f3d8d7ef3edb547662e4302dbcab97762 (diff)
parent2889ffa84ec4737b651b14c3ce019c5005d0dd9c (diff)
Merge release-20200127.0-115-g2889ffa (automated)
Diffstat (limited to 'pkg/sentry/arch')
-rw-r--r--pkg/sentry/arch/arch_amd64.s7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/sentry/arch/arch_amd64.s b/pkg/sentry/arch/arch_amd64.s
index bd61402cf..6c10336e7 100644
--- a/pkg/sentry/arch/arch_amd64.s
+++ b/pkg/sentry/arch/arch_amd64.s
@@ -26,10 +26,11 @@
//
// func initX86FPState(data *FloatingPointData, useXsave bool)
//
-// We need to clear out and initialize an empty fp state area since the sentry
-// may have left sensitive information in the floating point registers.
+// We need to clear out and initialize an empty fp state area since the sentry,
+// or any previous loader, may have left sensitive information in the floating
+// point registers.
//
-// Preconditions: data is zeroed
+// Preconditions: data is zeroed.
TEXT ·initX86FPState(SB), $24-16
// Save MXCSR (callee-save)
STMXCSR mxcsr-8(SP)