]> git.ipfire.org Git - thirdparty/systemd.git/commit
random-seed: don't use "label" version of mkdir_parents() 11905/head
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 14:06:37 +0000 (15:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 14:10:06 +0000 (15:10 +0100)
commit5468d9af7740e7e748bfa1892fdbcb915c601bc1
tree2d04c143bbf67b01698981828f8d9385eacbae43
parent0c0e87fcd5cb02173290a1554073d51879374ff9
random-seed: don't use "label" version of mkdir_parents()

We don't load the selinux label database anyway, hence this is not going
to do anything at all. Let's simplify this hence and drop the explicit
request.

Also note that today SELinux can take the filename into account when
automatically deducing the label for a new file, hence even if this code
actually would have done something it is redundant today.
src/random-seed/random-seed.c