Research Menu

.
Skip Search Box

SELinux Mailing List

[PATCH] semanage - rename instead of copy

From: Joshua Brindle <jbrindle_at_tresys.com>
Date: Mon, 07 Nov 2005 16:25:34 -0500


Attached patch makes libsemanage copy file to a temporary file and then rename() instead of copying directly to the target. This is necessary so that an install failure doesn't leave a corrupt binary policy on the system.

Joshua

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

Received on Mon 7 Nov 2005 - 16:31:53 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service