Lines Matching full:backup
83 /* Open the backup file, write the contents, and close it. */ in disable_random_ports()
87 warn("error opening sysctl backup file"); in disable_random_ports()
92 warn("error writing saved value to sysctl backup file"); in disable_random_ports()
97 "Error writing saved value to sysctl backup file: " in disable_random_ports()
103 warn("error closing sysctl backup file"); in disable_random_ports()
115 * Restore the sysctl value from the backup file and delete the backup file.
122 /* Open the backup file, read the contents, close it, and delete it. */ in restore_random_ports()
125 warn("error opening sysctl backup file"); in restore_random_ports()
130 warn("error reading saved value from sysctl backup file"); in restore_random_ports()
135 "Error reading saved value from sysctl backup file: " in restore_random_ports()
141 warn("error closing sysctl backup file"); in restore_random_ports()
144 warn("error removing sysctl backup file"); in restore_random_ports()