]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-aa-helper: Allow swtpm to fsync on dir
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 13 Jul 2021 18:38:32 +0000 (14:38 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 14 Jul 2021 11:29:59 +0000 (13:29 +0200)
commit1c78675c6c41380d387967536ad55410fcb2acde
treefa08ec5e168767b6d68daa3b5e75b1b8d97454cb
parent772a9875f7dfa636498e281691684799971e3422
virt-aa-helper: Allow swtpm to fsync on dir

Allow swtpm (0.7.0 or later) to fsync on the directory where it writes
its state files into so that "the entry in the directory containing the
file has also reached disk" (fsync(2)).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/security/virt-aa-helper.c