]>
Commit | Line | Data |
---|---|---|
a7df2d1e ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
3c171f0b LP |
3 | # This file is part of systemd. |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU Lesser General Public License as published by | |
7 | # the Free Software Foundation; either version 2.1 of the License, or | |
8 | # (at your option) any later version. | |
9 | ||
10 | [Unit] | |
11 | Description=Process Core Dump | |
12 | Documentation=man:systemd-coredump(8) | |
13 | DefaultDependencies=no | |
3c171f0b LP |
14 | Conflicts=shutdown.target |
15 | After=systemd-remount-fs.service systemd-journald.socket | |
16 | Requires=systemd-journald.socket | |
17 | Before=shutdown.target | |
18 | ||
19 | [Service] | |
20 | ExecStart=-@rootlibexecdir@/systemd-coredump | |
52ef7bbb LP |
21 | IPAddressDeny=any |
22 | LockPersonality=yes | |
23 | MemoryDenyWriteExecute=yes | |
3c171f0b LP |
24 | Nice=9 |
25 | OOMScoreAdjust=500 | |
924453c2 | 26 | PrivateDevices=yes |
3c171f0b | 27 | PrivateNetwork=yes |
52ef7bbb | 28 | PrivateTmp=yes |
04c65645 | 29 | ProtectControlGroups=yes |
52ef7bbb | 30 | ProtectHome=yes |
04c65645 | 31 | ProtectKernelModules=yes |
52ef7bbb LP |
32 | ProtectKernelTunables=yes |
33 | ProtectSystem=strict | |
04c65645 | 34 | RestrictAddressFamilies=AF_UNIX |
52ef7bbb LP |
35 | RestrictNamespaces=yes |
36 | RestrictRealtime=yes | |
37 | RuntimeMaxSec=5min | |
04c65645 | 38 | StateDirectory=systemd/coredump |
52ef7bbb LP |
39 | SystemCallArchitectures=native |
40 | SystemCallErrorNumber=EPERM | |
41 | SystemCallFilter=@system-service |