Debian Codegraph @

src/portable/profile/system/nonetwork/service.conf

raw
1 # The "nonetwork" security profile for services, i.e. like "default" but without networking
2
3 [Service]
4 MountAPIVFS=yes
5 BindLogSockets=yes
6 BindReadOnlyPaths=/etc/machine-id
7 BindReadOnlyPaths=/run/dbus/system_bus_socket
8 DynamicUser=yes
9 RemoveIPC=yes
10 CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER \
11 CAP_FSETID CAP_IPC_LOCK CAP_IPC_OWNER CAP_KILL CAP_MKNOD CAP_SETGID CAP_SETPCAP \
12 CAP_SETUID CAP_SYS_ADMIN CAP_SYS_CHROOT CAP_SYS_NICE CAP_SYS_RESOURCE
13 PrivateDevices=yes
14 PrivateUsers=yes
15 ProtectSystem=strict
16 ProtectHome=yes
17 ProtectKernelTunables=yes
18 ProtectKernelModules=yes
19 ProtectControlGroups=yes
20 RestrictAddressFamilies=AF_UNIX AF_NETLINK
21 LockPersonality=yes
22 MemoryDenyWriteExecute=yes
23 RestrictRealtime=yes
24 RestrictNamespaces=yes
25 DelegateNamespaces=no
26 SystemCallFilter=@system-service
27 SystemCallErrorNumber=EPERM
28 SystemCallArchitectures=native
29 PrivateNetwork=yes
30 IPAddressDeny=any