HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-systemcallfilter-nonewprivileges-protectclock.service

Git blob: 64a6b2adbe615a14ad0f18471b9e86ba04c3cc7d

Lines 1–10 of 10

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