diff options
author | Chong Cai <chongc@google.com> | 2021-09-01 15:48:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-01 15:51:10 -0700 |
commit | 5032f4f57d9d46a3dfebb50523907724713e0001 (patch) | |
tree | 5b3128095e953fdfb244f3498648ef498df48d8f /pkg/abi/linux | |
parent | b4de26d6b1bbb0e75187690da6d3fe120f53656b (diff) |
Add ioctl stub constants
PiperOrigin-RevId: 394331928
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r-- | pkg/abi/linux/ioctl.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go index 006b5a525..29062c97a 100644 --- a/pkg/abi/linux/ioctl.go +++ b/pkg/abi/linux/ioctl.go @@ -170,3 +170,18 @@ const ( KCOV_MODE_TRACE_PC = 2 KCOV_MODE_TRACE_CMP = 3 ) + +// Attestation ioctls. +var ( + SIGN_ATTESTATION_REPORT = IOC(_IOC_READ, 's', 1, 65) +) + +// SizeOfQuoteInputData is the number of bytes in the input data of ioctl call +// to get quote. +const SizeOfQuoteInputData = 64 + +// SignReport is a struct that gets signed quote from input data. +type SignReport struct { + data [64]byte + quote []byte +} |