Add basic pledge/unveil sandbox on OpenBSD
[tinc] / test / integration / testlib / feature.py
1 """Some hardcoded constants."""
2
3 from .proc import Feature, Tinc
4
5 # True if tincd has sandbox support
6 HAVE_SANDBOX = Feature.SANDBOX in Tinc().features
7
8 # Maximum supported sandbox level
9 SANDBOX_LEVEL = "high" if Feature.SANDBOX in Tinc().features else "off"