Skip to content
  • Michael Hanselmann's avatar
    Call fsync() after modifying /etc/hosts. · 2e3e75b7
    Michael Hanselmann authored
    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
    2e3e75b7