]> git.ipfire.org Git - thirdparty/systemd.git/commit
random-seed: drop falling back to O_WRONLY if O_RDWR on /dev/urandom doesn't work
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Jul 2019 08:24:50 +0000 (10:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Jul 2019 16:20:50 +0000 (18:20 +0200)
commitc6127c39965aa7f13ee8b311e3f89f6f3c54a730
treeafb0c3fb7c0f6683394851798da659a03bbd58c1
parent15d961bf537435914736005a857b33750b13848b
random-seed: drop falling back to O_WRONLY if O_RDWR on /dev/urandom doesn't work

There's no reason why writing should work if reading and writing
doesn't. Let's simplify this hence. /dev/urandom is generally an r/w
device, and everything else would be a serious system misconfiguration.
src/random-seed/random-seed.c