aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_snapshot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/dev_snapshot.txt')
-rw-r--r--sys/linux/dev_snapshot.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/dev_snapshot.txt b/sys/linux/dev_snapshot.txt
index 0d06459c4..435727192 100644
--- a/sys/linux/dev_snapshot.txt
+++ b/sys/linux/dev_snapshot.txt
@@ -11,9 +11,9 @@ openat$snapshot(fd const[AT_FDCWD], file ptr[in, string["/dev/snapshot"]], flags
write$snapshot(fd fd_snapshot, buffer ptr[in, array[int8]], len bytesize[buffer])
read$snapshot(fd fd_snapshot, buffer ptr[out, array[int8]], len bytesize[buffer])
-# These are disabled because they can easily kill the machine.
-ioctl$SNAPSHOT_FREEZE(fd fd_snapshot, cmd const[SNAPSHOT_FREEZE]) (disabled)
-ioctl$SNAPSHOT_POWER_OFF(fd fd_snapshot, cmd const[SNAPSHOT_POWER_OFF]) (disabled)
+# These are enabled only in snapshot mode because they can easily kill the machine.
+ioctl$SNAPSHOT_FREEZE(fd fd_snapshot, cmd const[SNAPSHOT_FREEZE]) (snapshot)
+ioctl$SNAPSHOT_POWER_OFF(fd fd_snapshot, cmd const[SNAPSHOT_POWER_OFF]) (snapshot)
ioctl$SNAPSHOT_UNFREEZE(fd fd_snapshot, cmd const[SNAPSHOT_UNFREEZE])
ioctl$SNAPSHOT_CREATE_IMAGE(fd fd_snapshot, cmd const[SNAPSHOT_CREATE_IMAGE], arg ptr[out, int32])