]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: apply label to /run/systemd/resolve/resolv.conf
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Oct 2014 02:27:43 +0000 (22:27 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Oct 2014 02:37:13 +0000 (22:37 -0400)
commita5a807e63a50314e190e9166d8a453cd8dd258e3
treed906ba643b17791f74fd4611a1eb679392e8a42e
parent4713135eae4f7b6b670a98476fe413edfa1d9f41
resolved: apply label to /run/systemd/resolve/resolv.conf

Under an SELinux system, we want the file that is created to
have a proper context, different from the default for files in /run.
This is so that the policy can give access to almost everyone to
this file.
src/resolve/resolved-manager.c
src/resolve/resolved.c