summaryrefslogtreecommitdiff
path: root/src/core/device.c
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2016-09-25 12:21:25 +0200
committerDjalal Harouni <tixxdz@opendz.org>2016-09-25 12:21:25 +0200
commitf471b2afa11c97e48a4b6756f7254f88cc436960 (patch)
tree3993c47576c1a24161c9f24488a117af8e70e5af /src/core/device.c
parent49accde7bd915944d99c947dca0cf26ae0f24165 (diff)
core: simplify ProtectSystem= implementation
ProtectSystem= with all its different modes and other options like PrivateDevices= + ProtectKernelTunables= + ProtectHome= are orthogonal, however currently it's a bit hard to parse that from the implementation view. Simplify it by giving each mode its own table with all paths and references to other Protect options. With this change some entries are duplicated, but we do not care since duplicate mounts are first sorted by the most restrictive mode then cleaned.
Diffstat (limited to 'src/core/device.c')
0 files changed, 0 insertions, 0 deletions