| 1 |
[Unit] |
| 2 |
Description=Hexagon DSP sensors daemon |
| 3 |
Documentation=man:hexagonrpcd(1) file:///usr/share/doc/hexagonrpcd/README.Debian |
| 4 |
ConditionKernelVersion=>=6.12 |
| 5 |
Conflicts=shutdown.target |
| 6 |
After=multi-user.target |
| 7 |
Before=shutdown.target |
| 8 |
|
| 9 |
[Service] |
| 10 |
Type=simple |
| 11 |
NoNewPrivileges=yes |
| 12 |
PrivateTmp=yes |
| 13 |
DevicePolicy=closed |
| 14 |
DeviceAllow=/dev/fastrpc-adsp |
| 15 |
DeviceAllow=/dev/fastrpc-sdsp |
| 16 |
DeviceAllow=/dev/fastrpc-cdsp |
| 17 |
DeviceAllow=/dev/fastrpc-adsp-secure |
| 18 |
DeviceAllow=/dev/fastrpc-sdsp-secure |
| 19 |
DeviceAllow=/dev/fastrpc-cdsp-secure |
| 20 |
ProtectSystem=strict |
| 21 |
ProtectHome=read-only |
| 22 |
ProtectControlGroups=yes |
| 23 |
ProtectKernelModules=yes |
| 24 |
ProtectKernelTunables=yes |
| 25 |
PrivateNetwork=yes |
| 26 |
RestrictAddressFamilies=none |
| 27 |
RestrictNamespaces=yes |
| 28 |
RestrictRealtime=yes |
| 29 |
RestrictSUIDSGID=yes |
| 30 |
MemoryDenyWriteExecute=yes |
| 31 |
LockPersonality=yes |
| 32 |
CapabilityBoundingSet= |
| 33 |
ExecStart=/usr/bin/hexagonrpcd |
| 34 |
User=fastrpc |
| 35 |
Group=fastrpc |
| 36 |
|
| 37 |
[Install] |
| 38 |
WantedBy=default.target |