HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

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

Git blob: fcae37adc7c1ec39315919fbf6f0ec515e147d12

Lines 1–10 of 10

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