| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
[Unit] |
| 3 |
Description=Test no_new_privs is unset for ProtectClock and non-root user |
| 4 |
|
| 5 |
[Service] |
| 6 |
ExecStart=bash -x -c 'c=$$(cat /proc/self/status | grep "NoNewPrivs: "); test "$$c" = "NoNewPrivs: 0"' |
| 7 |
Type=oneshot |
| 8 |
User=1 |
| 9 |
ProtectClock=yes |