summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2019-03-11 12:43:20 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2019-03-11 14:13:00 +0100
commitb5b499b32c164149d20ee50a73f3098ed0a3aea4 (patch)
treeff2655d8f4f466b8a3498a34b3d3b0dd50ad866c /test
parentfuzz: add hostname-util fuzzer (diff)
downloadsystemd-b5b499b32c164149d20ee50a73f3098ed0a3aea4.tar.xz
systemd-b5b499b32c164149d20ee50a73f3098ed0a3aea4.zip
fuzz: add nspawn-settings fuzzer
Diffstat (limited to 'test')
-rw-r--r--test/fuzz/fuzz-nspawn-settings/basic-config36
1 files changed, 36 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 0000000000..be0d4e7c7b
--- /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