summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-28 02:16:39 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-28 02:16:39 +0000
commit51a20bc178195f8b82d8edf7354ba1ce2a96fdf1 (patch)
treefbc8c28d023d9641f1f08914fd882f3e172d4ee2 /pkg/abi
parentcaad4b20755d3ba0ea172c58fd0b7cffae84733d (diff)
parentbc91ae17f682d2a0a6062101707e2707f965a9b2 (diff)
Merge release-20201019.0-75-gbc91ae17f (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/ioctl.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go
index 7df02dd6d..006b5a525 100644
--- a/pkg/abi/linux/ioctl.go
+++ b/pkg/abi/linux/ioctl.go
@@ -121,6 +121,9 @@ const (
// Constants from uapi/linux/fsverity.h.
const (
+ FS_VERITY_HASH_ALG_SHA256 = 1
+ FS_VERITY_HASH_ALG_SHA512 = 2
+
FS_IOC_ENABLE_VERITY = 1082156677
FS_IOC_MEASURE_VERITY = 3221513862
)