blob: fdeb3f140d131abf0f6ac575befe5a892e042423 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test merging RestrictNamespaces= with AND
[Service]
RestrictNamespaces=mnt pid
RestrictNamespaces=~mnt usr
ExecStart=unshare -p -f
ExecStart=sh -c '! unshare -m -u -i -n'
Type=oneshot
|