diff options
| author | Victor Hsieh <victorhsieh@gmail.com> | 2018-12-18 01:34:52 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-18 10:34:52 +0100 |
| commit | f4815544c1bd24e9151ffa64edda7bc68f0e156d (patch) | |
| tree | d4860866219ffec3bc0276dc5a6a9f4642b62648 /executor | |
| parent | bd8b4220d51d391adeba08cfcd2c886b9f0b0599 (diff) | |
sys/linux: add fs-verity ioctls
This adds 2 ioctls and an argument type:
- FS_IOC_ENABLE_VERITY
- FS_IOC_MEASURE_VERITY
- struct fsverity_digest
Note fs-verity on-disk structs are not yet added.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/defs.h | 10 | ||||
| -rw-r--r-- | executor/syscalls.h | 10 |
2 files changed, 15 insertions, 5 deletions
diff --git a/executor/defs.h b/executor/defs.h index d6acd94e6..47b749dbb 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "8d98cf123e28136d3c5e78476489e6e07c90f3fa" +#define SYZ_REVISION "41b7d68957439995599a13c27f4e53a5ef94c6ef" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "d3c0cb876de4a8b5fb805efe83f674970a1348e7" +#define SYZ_REVISION "b7e39f3128ea124913623c5b44f8f4cf11321d3b" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "1d77e76fbb396a3a3706466c07f8c8bbd104f0a0" +#define SYZ_REVISION "34b155a4d1654ac354700f5d731b25f9b7fdcc76" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "d63d6f43a6b2870d268f238f62b1af301671d55e" +#define SYZ_REVISION "26f57d8563b809b5879e620054577dcb38668de8" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "9f1aaf622deac73e3c5f3ed9cc113358ade669e9" +#define SYZ_REVISION "2e2cda69f198c8832cb15174493082aab944dd2c" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 51e784eb0..beb15baf2 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -1983,6 +1983,7 @@ const call_t syscalls[] = { {"ioctl$FLOPPY_FDTWADDLE", 54}, {"ioctl$FLOPPY_FDWERRORCLR", 54}, {"ioctl$FLOPPY_FDWERRORGET", 54}, + {"ioctl$FS_IOC_ENABLE_VERITY", 54}, {"ioctl$FS_IOC_FIEMAP", 54}, {"ioctl$FS_IOC_FSGETXATTR", 54}, {"ioctl$FS_IOC_FSSETXATTR", 54}, @@ -1992,6 +1993,7 @@ const call_t syscalls[] = { {"ioctl$FS_IOC_GETVERSION", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 54}, + {"ioctl$FS_IOC_MEASURE_VERITY", 54}, {"ioctl$FS_IOC_RESVSP", 54}, {"ioctl$FS_IOC_SETFLAGS", 54}, {"ioctl$FS_IOC_SETFSLABEL", 54}, @@ -4357,6 +4359,7 @@ const call_t syscalls[] = { {"ioctl$FLOPPY_FDTWADDLE", 16}, {"ioctl$FLOPPY_FDWERRORCLR", 16}, {"ioctl$FLOPPY_FDWERRORGET", 16}, + {"ioctl$FS_IOC_ENABLE_VERITY", 16}, {"ioctl$FS_IOC_FIEMAP", 16}, {"ioctl$FS_IOC_FSGETXATTR", 16}, {"ioctl$FS_IOC_FSSETXATTR", 16}, @@ -4366,6 +4369,7 @@ const call_t syscalls[] = { {"ioctl$FS_IOC_GETVERSION", 16}, {"ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 16}, {"ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 16}, + {"ioctl$FS_IOC_MEASURE_VERITY", 16}, {"ioctl$FS_IOC_RESVSP", 16}, {"ioctl$FS_IOC_SETFLAGS", 16}, {"ioctl$FS_IOC_SETFSLABEL", 16}, @@ -6761,6 +6765,7 @@ const call_t syscalls[] = { {"ioctl$FLOPPY_FDTWADDLE", 54}, {"ioctl$FLOPPY_FDWERRORCLR", 54}, {"ioctl$FLOPPY_FDWERRORGET", 54}, + {"ioctl$FS_IOC_ENABLE_VERITY", 54}, {"ioctl$FS_IOC_FIEMAP", 54}, {"ioctl$FS_IOC_FSGETXATTR", 54}, {"ioctl$FS_IOC_FSSETXATTR", 54}, @@ -6770,6 +6775,7 @@ const call_t syscalls[] = { {"ioctl$FS_IOC_GETVERSION", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 54}, + {"ioctl$FS_IOC_MEASURE_VERITY", 54}, {"ioctl$FS_IOC_RESVSP", 54}, {"ioctl$FS_IOC_SETFLAGS", 54}, {"ioctl$FS_IOC_SETFSLABEL", 54}, @@ -9118,6 +9124,7 @@ const call_t syscalls[] = { {"ioctl$FLOPPY_FDTWADDLE", 29}, {"ioctl$FLOPPY_FDWERRORCLR", 29}, {"ioctl$FLOPPY_FDWERRORGET", 29}, + {"ioctl$FS_IOC_ENABLE_VERITY", 29}, {"ioctl$FS_IOC_FIEMAP", 29}, {"ioctl$FS_IOC_FSGETXATTR", 29}, {"ioctl$FS_IOC_FSSETXATTR", 29}, @@ -9127,6 +9134,7 @@ const call_t syscalls[] = { {"ioctl$FS_IOC_GETVERSION", 29}, {"ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 29}, {"ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 29}, + {"ioctl$FS_IOC_MEASURE_VERITY", 29}, {"ioctl$FS_IOC_RESVSP", 29}, {"ioctl$FS_IOC_SETFLAGS", 29}, {"ioctl$FS_IOC_SETFSLABEL", 29}, @@ -11468,6 +11476,7 @@ const call_t syscalls[] = { {"ioctl$FLOPPY_FDTWADDLE", 54}, {"ioctl$FLOPPY_FDWERRORCLR", 54}, {"ioctl$FLOPPY_FDWERRORGET", 54}, + {"ioctl$FS_IOC_ENABLE_VERITY", 54}, {"ioctl$FS_IOC_FIEMAP", 54}, {"ioctl$FS_IOC_FSGETXATTR", 54}, {"ioctl$FS_IOC_FSSETXATTR", 54}, @@ -11477,6 +11486,7 @@ const call_t syscalls[] = { {"ioctl$FS_IOC_GETVERSION", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_POLICY", 54}, {"ioctl$FS_IOC_GET_ENCRYPTION_PWSALT", 54}, + {"ioctl$FS_IOC_MEASURE_VERITY", 54}, {"ioctl$FS_IOC_RESVSP", 54}, {"ioctl$FS_IOC_SETFLAGS", 54}, {"ioctl$FS_IOC_SETFSLABEL", 54}, |
