aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/fs_ioctl_ext4.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-12-31 10:26:06 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-02 13:38:49 +0000
commit22968d01cc9189de5506bf05739b8715c4edae3f (patch)
treef5dfee892b1ecba2a2311fffccc87788834ab868 /sys/linux/fs_ioctl_ext4.txt
parentf1519a95877e13662cbf16c7344b3e23d5b3982c (diff)
sys/linux: enable some disabled syscalls in snapshot mode
Enable some previously disabled syscalls in snapshot mode that look safe for snapshot mode. In snapshot mode we don't rely on the actual networking, and should be able to survive runner process kills, and disk shutdown.
Diffstat (limited to 'sys/linux/fs_ioctl_ext4.txt')
-rw-r--r--sys/linux/fs_ioctl_ext4.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/fs_ioctl_ext4.txt b/sys/linux/fs_ioctl_ext4.txt
index 7993d7cf7..c883ce8fb 100644
--- a/sys/linux/fs_ioctl_ext4.txt
+++ b/sys/linux/fs_ioctl_ext4.txt
@@ -24,13 +24,13 @@ ext4_checkpoint_flags = EXT4_IOC_CHECKPOINT_FLAG_DISCARD, EXT4_IOC_CHECKPOINT_FL
# EXT4_IOC_SHUTDOWN on root fs effectively brings the machine down in weird ways.
# Fortunately, the value does not conflict with any other ioctl commands for now.
-ioctl$EXT4_IOC_SHUTDOWN(fd fd, cmd const[EXT4_IOC_SHUTDOWN]) (disabled)
+ioctl$EXT4_IOC_SHUTDOWN(fd fd, cmd const[EXT4_IOC_SHUTDOWN]) (snapshot)
# EXT4_IOC_RESIZE_FS on root fs can shrink it to 0 (or whatever is the minimum size)
# and then creation of new temp dirs for tests will fail.
# TODO: not necessary for sandbox=namespace as it tests in a tmpfs
# and/or if we mount tmpfs for sandbox=none (#971).
-ioctl$EXT4_IOC_RESIZE_FS(fd fd, cmd const[EXT4_IOC_RESIZE_FS]) (disabled)
+ioctl$EXT4_IOC_RESIZE_FS(fd fd, cmd const[EXT4_IOC_RESIZE_FS]) (snapshot)
ext4_new_group_input {
group int32