]> git.ipfire.org Git - thirdparty/systemd.git/commit
firstboot: Modernize path handling 26707/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Dec 2022 13:29:13 +0000 (14:29 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Mar 2023 07:25:38 +0000 (09:25 +0200)
commitb352e545abecf3bef91ee0962db6630c95a33d16
treede98c2ef33c0d368c4abf64fa4f41f5f788ed857
parent8e3eb949a5a0dde66b6e4ca799937a75b7b646eb
firstboot: Modernize path handling

Let's open a file descriptor to the root directory and perform all
path operations using that file descriptor. On top of that, let's
make sure we pin the directory containing the file we want to work
on and use atomic copies and writes everywhere we can..
src/firstboot/firstboot.c