Skip to content
Snippets Groups Projects
Commit 2e3e75b7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Call fsync() after modifying /etc/hosts.

This is a critical file. Breaking it would be very bad. Thus, if the system
crashes before the data is synched to the disk, it should have the complete
file afterwards.

Reviewed-by: iustinp
parent 9440aeab
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment