summaryrefslogtreecommitdiffstats
path: root/test/fuzz/fuzz-nspawn-settings
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/fuzz/fuzz-nspawn-settings/basic-config36
-rw-r--r--test/fuzz/fuzz-nspawn-settings/leak-bind-mountbin0 -> 133 bytes
-rw-r--r--test/fuzz/fuzz-nspawn-settings/oss-fuzz-136912
3 files changed, 38 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-nspawn-settings/basic-config b/test/fuzz/fuzz-nspawn-settings/basic-config
new file mode 100644
index 0000000..be0d4e7
--- /dev/null
+++ b/test/fuzz/fuzz-nspawn-settings/basic-config
@@ -0,0 +1,36 @@
+[Exec]
+Boot=off
+ProcessTwo=off
+Parameters=/sbin/init -x=1
+Environment=THIS=that
+User=user
+WorkingDirectory=/cwd
+PivotRoot=/newroot
+Capability=CAP_NET
+DropCapability=CAP_ADMIN
+KillSignal=SIGTERM
+Personality=shy
+MachineID=edbfea3309ba41ea83e2318c58a8d498
+PrivateUser=1:2
+NotifyReady=no
+SystemCallFilters=write
+
+[Files]
+ReadOnly=no
+Volatile=no
+Bind=/bindthis
+BindReadOnly=/bindthisro
+TemporaryFileSystem=/thisismytmpfs:rw
+Overlay=/thisisanoverlay:/thisisanoverlaytoo
+PrivateUsersChown=no
+
+[Network]
+Private=off
+VirtualEthernet=yes
+VirtualEthernetExtra=veth1:veth2
+Interface=eth1 enp0s1
+MacVLAN=eno1 eno2
+IPVLAN=eno3 enp2s124
+Bridge=bridge123 bridge125
+Zone=myzone
+Port=1234 156 -1
diff --git a/test/fuzz/fuzz-nspawn-settings/leak-bind-mount b/test/fuzz/fuzz-nspawn-settings/leak-bind-mount
new file mode 100644
index 0000000..7be2d2c
--- /dev/null
+++ b/test/fuzz/fuzz-nspawn-settings/leak-bind-mount
Binary files differ
diff --git a/test/fuzz/fuzz-nspawn-settings/oss-fuzz-13691 b/test/fuzz/fuzz-nspawn-settings/oss-fuzz-13691
new file mode 100644
index 0000000..51f46e3
--- /dev/null
+++ b/test/fuzz/fuzz-nspawn-settings/oss-fuzz-13691
@@ -0,0 +1,2 @@
+[Files]
+Overlay=/:: \ No newline at end of file