diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-31 12:40:20 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-05-31 12:40:20 +0200 |
commit | d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a (patch) | |
tree | b1a4773022e0904f6e023bcff832d897ed46c893 /src/rc-local-generator | |
parent | 051d68786bd5bfe87e7cc0c1d68ec4be83eb662a (diff) | |
download | systemd-d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a.tar.gz |
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
Diffstat (limited to 'src/rc-local-generator')
-rw-r--r-- | src/rc-local-generator/rc-local-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c index 38168cc01f..f41a6bf265 100644 --- a/src/rc-local-generator/rc-local-generator.c +++ b/src/rc-local-generator/rc-local-generator.c @@ -53,7 +53,7 @@ static int add_symlink(const char *service, const char *where) { goto finish; } - mkdir_parents(to, 0755); + mkdir_parents_label(to, 0755); r = symlink(from, to); if (r < 0) { |