summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/all/2337
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/zero-shot/118/all/2337')
-rw-r--r--results/classifier/zero-shot/118/all/233792
1 files changed, 92 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/118/all/2337 b/results/classifier/zero-shot/118/all/2337
new file mode 100644
index 000000000..688569d47
--- /dev/null
+++ b/results/classifier/zero-shot/118/all/2337
@@ -0,0 +1,92 @@
+boot: 0.988
+socket: 0.986
+kernel: 0.978
+device: 0.978
+graphic: 0.971
+semantic: 0.968
+permissions: 0.957
+user-level: 0.949
+PID: 0.947
+vnc: 0.939
+network: 0.936
+debug: 0.933
+files: 0.933
+register: 0.916
+performance: 0.912
+arm: 0.884
+assembly: 0.879
+VMM: 0.873
+risc-v: 0.865
+architecture: 0.861
+ppc: 0.859
+peripherals: 0.858
+mistranslation: 0.807
+virtual: 0.745
+TCG: 0.721
+x86: 0.669
+KVM: 0.545
+hypervisor: 0.497
+i386: 0.389
+
+Os boot issues on 9p filesystem due to unix domain sockets open failure
+Description of problem:
+Unix filesystem API is broken, unix domain socket special files return an error at open()
+Steps to reproduce:
+Simple script. Tries to use netcat to get data through a local unix domain socket file   
+```
+#!/bin/bash
+
+# Cleanup target dir
+[ -d ./target ] && rm -rf target
+mkdir target
+
+# Add configuration updates
+mkdir -p ./target/etc/initramfs-tools/
+echo 9p >> ./target/etc/initramfs-tools/modules
+echo 9pnet_virtio >> ./target/etc/initramfs-tools/modules
+
+# Add the test script
+cat > ./target/test_init << EOF
+#!/bin/bash
+
+echo "Test for unix domain sockets"
+
+nc -Ul /socket &
+sleep 1
+echo "Sockets work" | nc -UN /socket || echo "Sockets fail"
+
+echo o > /proc/sysrq-trigger
+sleep 999
+EOF
+chmod 700 ./target/test_init
+
+# Create an Ubuntu 23.10 around it
+echo "Creating Ubuntu target OS"
+debootstrap --variant=minbase\
+            --include=udev,kmod,initramfs-tools,systemd,netcat-openbsd,linux-image-generic \
+            --exclude=man,bash-completion \
+            mantic ./target > /dev/null || exit 1
+
+# Run the test in 9p forwarded filesystem
+echo "Running OS in qemu"
+qemu-system-s390x \
+  -m 8192 \
+  -smp 4 \
+  -nodefaults -nographic -no-reboot -no-user-config \
+  -kernel ./target/boot/vmlinuz \
+  -initrd ./target/boot/initrd.img \
+  -append 'root=fsRoot rw rootfstype=9p rootflags=trans=virtio,version=9p2000.L,msize=512000,cache=mmap,posixacl console=ttysclp0 init=/test_init quiet' \
+  -fsdev local,security_model=passthrough,multidevs=remap,id=fsdev-fsRoot,path=./target \
+  -device virtio-9p-pci,id=fsRoot,fsdev=fsdev-fsRoot,mount_tag=fsRoot \
+  -device virtio-serial-ccw -device sclpconsole,chardev=console \
+  -chardev stdio,id=console,signal=off 
+```
+Additional information:
+Test output:
+```
+Test for unix domain sockets
+qemu-system-s390x: 9p: broken or compromised client detected; attempt to open special file (i.e. neither regular file, nor directory)
+nc: No such device or address
+nc: /socket: No such file or directory
+Sockets fail
+```