]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: rework random seed logic to use open_mkdir_at() and openat()
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Dec 2022 21:26:30 +0000 (22:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Jan 2023 14:18:10 +0000 (15:18 +0100)
commit6b97b267bf990b2ec553efae229b7996dc262996
treea861cb205f44cc21697e3dabd2c04770d56586fd
parente425849e995e448f529d3c106bf1e3de2ca23a35
bootctl: rework random seed logic to use open_mkdir_at() and openat()

This doesn't really fix anything, but in general we should put stronger
emphasis on operating via dir fds rather than paths more (in particular
when writing files as opposed to consuming them).

No real change in behaviour.
src/boot/bootctl-random-seed.c