summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-restrictnamespaces-merge-and.service
blob: 6702e6aab2e859f754172936ea45a72f5cf0ea14 (plain)
1
2
3
4
5
6
7
8
9
[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