1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-05 13:18:06 +03:00

test: update nspawn's basic config file used for fuzzing

This commit is contained in:
Frantisek Sumsal 2023-05-15 09:00:17 +02:00
parent 62281c78bb
commit 1c8bf49b67

View File

@ -1,6 +1,7 @@
[Exec] [Exec]
Boot=off Boot=off
ProcessTwo=off ProcessTwo=off
Ephemeral=yes
Parameters=/sbin/init -x=1 Parameters=/sbin/init -x=1
Environment=THIS=that Environment=THIS=that
User=user User=user
@ -8,28 +9,56 @@ WorkingDirectory=/cwd
PivotRoot=/newroot PivotRoot=/newroot
Capability=CAP_NET Capability=CAP_NET
DropCapability=CAP_ADMIN DropCapability=CAP_ADMIN
AmbientCapability=CAP_SETUID
NoNewPrivileges=yes
KillSignal=SIGTERM KillSignal=SIGTERM
Personality=shy Personality=shy
MachineID=edbfea3309ba41ea83e2318c58a8d498 MachineID=edbfea3309ba41ea83e2318c58a8d498
PrivateUser=1:2 PrivateUsers=1:2
NotifyReady=no NotifyReady=no
SystemCallFilters=write SystemCallFilters=write
LimitCPU=10:20
LimitFSIZE=5:10
LimitDATA=100:200
LimitSTACK=1024:2048
LimitCore=0:1024
LimitRSS=1024:4096
LimitNOFILE=5:15
LimitAS=2048:4096
LimitNPROC=32:64
LimitMEMLOCK=128:256
LimitLOCKS=100:300
LimitSIGPENDING=1:3
LimitMSGQUEUE=16:32
LimitNICE=4:5
LimitRTPRIO=0:1
LimitRTTIME=2:3
OOMScoreAdjust=50
CPUAffinity=1,2,3-4
Hostname=foo.bar
ResolvConf=copy-host
Timezone=bind
LinkJournal=try-guest
SuppressSync=yes
[Files] [Files]
ReadOnly=no ReadOnly=no
Volatile=no Volatile=no
Bind=/bindthis Bind=/bindthis
BindReadOnly=/bindthisro BindReadOnly=/bindthisro
BindUser=testuser
TemporaryFileSystem=/thisismytmpfs:rw TemporaryFileSystem=/thisismytmpfs:rw
Inaccessible=yes
Overlay=/thisisanoverlay:/thisisanoverlaytoo Overlay=/thisisanoverlay:/thisisanoverlaytoo
PrivateUsersChown=no OverlayReadOnly=/foo:/bar:/baz:/merged
PrivateUsersOwnership=no
[Network] [Network]
Private=off Private=off
VirtualEthernet=yes VirtualEthernet=yes
VirtualEthernetExtra=veth1:veth2 VirtualEthernetExtra=veth1:veth2
Interface=eth1 enp0s1 Interface=eth1 enp0s1
MacVLAN=eno1 eno2 MACVLAN=eno1 eno2
IPVLAN=eno3 enp2s124 IPVLAN=eno3 enp2s124
Bridge=bridge123 bridge125 Bridge=bridge123 bridge125
Zone=myzone Zone=myzone