aboutgitcodelistschat:MatrixIRC
path: root/qemu_filter
diff options
context:
space:
mode:
Diffstat (limited to 'qemu_filter')
-rw-r--r--qemu_filter10
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu_filter b/qemu_filter
new file mode 100644
index 0000000..9ce4824
--- /dev/null
+++ b/qemu_filter
@@ -0,0 +1,10 @@
+# syscall type args
+
+# type fd1: fd first argument, sockaddr_un with path, check and replace path
+connect fd1_unix /tmp/qemu-pr-helper.sock /tmp/qemu-pr-helper.sock
+
+# type fdret_src: source path first argument, check and replace, return fd
+mount fdret_src /escalate_badly /etc
+
+# type dev_check: path first argument, check and replace, allow second argument only
+ioctl dev_check /dev/tun/tap /dev/tun/tap