From cb2e3c946a376097f695118384cf3a147905aa18 Mon Sep 17 00:00:00 2001 From: Chong Cai Date: Tue, 15 Sep 2020 19:00:14 -0700 Subject: Implement gvisor verity fs ioctl with GETFLAGS PiperOrigin-RevId: 331905347 --- pkg/abi/linux/ioctl.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/abi') diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go index a4fe7501d..3356a2b4a 100644 --- a/pkg/abi/linux/ioctl.go +++ b/pkg/abi/linux/ioctl.go @@ -113,6 +113,12 @@ const ( _IOC_DIRSHIFT = _IOC_SIZESHIFT + _IOC_SIZEBITS ) +// Constants from uapi/linux/fs.h. +const ( + FS_IOC_GETFLAGS = 2147771905 + FS_VERITY_FL = 1048576 +) + // Constants from uapi/linux/fsverity.h. const ( FS_IOC_ENABLE_VERITY = 1082156677 -- cgit v1.2.3