diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-25 15:19:55 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-25 15:19:55 +0200 |
commit | 36b8eb3ce55602bcf36199330e98f2e154225cf7 (patch) | |
tree | 53935e784940eb07401aea7d85fbede6f5f3bafa /qemu_filter | |
download | seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar.gz seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar.bz2 seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar.lz seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar.xz seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.tar.zst seitan-36b8eb3ce55602bcf36199330e98f2e154225cf7.zip |
seitan: Initial import
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'qemu_filter')
-rw-r--r-- | qemu_filter | 10 |
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 |