chiark / gitweb /
core: add new ReadOnlySystem= and ProtectedHome= settings for service units
authorLennart Poettering <lennart@poettering.net>
Tue, 3 Jun 2014 21:41:44 +0000 (23:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Jun 2014 21:57:51 +0000 (23:57 +0200)
ReadOnlySystem= uses fs namespaces to mount /usr and /boot read-only for
a service.

ProtectedHome= uses fs namespaces to mount /home and /run/user
inaccessible or read-only for a service.

This patch also enables these settings for all our long-running services.

Together they should be good building block for a minimal service
sandbox, removing the ability for services to modify the operating
system or access the user's private data.


No differences found