From d646e21ff436cd2a40b23314436cd53f21ae9500 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 5 Jan 2020 12:44:49 +0100 Subject: prog: fix tests for string enforcement String value enforcement broke a number of tests where we use different values. Be more string as to what string values we use in tests. Required to add tmpfs descriptions to test syz_mount_image. Also special-casing AF_ALG algorithms as these are auto-generated. --- executor/syscalls.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'executor/syscalls.h') diff --git a/executor/syscalls.h b/executor/syscalls.h index 1d23d2717..bdcf39785 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -4906,6 +4906,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, @@ -8080,6 +8081,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, @@ -11209,6 +11211,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, @@ -14309,6 +14312,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, @@ -17325,6 +17329,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, @@ -20447,6 +20452,7 @@ const call_t syscalls[] = { {"syz_mount_image$ntfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$ocfs2", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$reiserfs", 0, (syscall_t)syz_mount_image}, + {"syz_mount_image$tmpfs", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$vfat", 0, (syscall_t)syz_mount_image}, {"syz_mount_image$xfs", 0, (syscall_t)syz_mount_image}, {"syz_open_dev$I2C", 0, (syscall_t)syz_open_dev}, -- cgit mrf-deployment