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