diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-10-14 23:31:29 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-14 23:31:29 +0000 |
commit | 7d82b31469ec6fa5f88f239a4bb4319e21042bad (patch) | |
tree | 84472ba59201dc0e7f0afa1039129f92b04be7f3 /pkg/abi | |
parent | de2161de0832bed9058091615efe88ebc0f676a4 (diff) | |
parent | 6f4fcc4bac81f0fc73712b0216e3ed50b056a925 (diff) |
Merge release-20211005.0-45-g6f4fcc4ba (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/ioctl.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go index 29062c97a..4526d3f95 100644 --- a/pkg/abi/linux/ioctl.go +++ b/pkg/abi/linux/ioctl.go @@ -180,8 +180,12 @@ var ( // to get quote. const SizeOfQuoteInputData = 64 -// SignReport is a struct that gets signed quote from input data. +// SignReport is a struct that gets signed quote from input data. The +// serialized quote is copied to buf. +// size is an input that specifies the size of buf. When returned, it's updated +// to the size of quote. type SignReport struct { - data [64]byte - quote []byte + data [64]byte + size uint32 + buf []byte } |