summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/ioctl.go
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2021-10-26 11:48:33 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-26 11:51:06 -0700
commit8b2e8caad400fd3e7d3e4e235d26dd2d556bf65c (patch)
tree11e7b85446a78235c97a63d3325cab7103c60347 /pkg/abi/linux/ioctl.go
parent2d384f761c42ef9efb7ffdbd1a4f1ca328e60eab (diff)
Move attestation definitions to standalone package
PiperOrigin-RevId: 405698863
Diffstat (limited to 'pkg/abi/linux/ioctl.go')
-rw-r--r--pkg/abi/linux/ioctl.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go
index 4526d3f95..006b5a525 100644
--- a/pkg/abi/linux/ioctl.go
+++ b/pkg/abi/linux/ioctl.go
@@ -170,22 +170,3 @@ 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. 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
- size uint32
- buf []byte
-}