hal/tools fstab-sync.c,1.17,1.18

David Zeuthen david at freedesktop.org
Mon Aug 30 18:34:29 PDT 2004


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv2029/tools

Modified Files:
	fstab-sync.c 
Log Message:
2004-08-31  David Zeuthen  <david at fubar.dk>

	* tools/fstab-sync.c (clean): Call restore_selinux_context if we
	have selinux



Index: fstab-sync.c
===================================================================
RCS file: /cvs/hal/hal/tools/fstab-sync.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- fstab-sync.c	30 Aug 2004 08:38:22 -0000	1.17
+++ fstab-sync.c	31 Aug 2004 01:34:27 -0000	1.18
@@ -1758,6 +1758,10 @@
 
   close (fd);
 
+#ifdef HAVE_SELINUX
+  restore_selinux_context(_PATH_FSTAB);
+#endif
+
   syslog (LOG_INFO, _("removed all generated mount points"));
 
   return TRUE;




More information about the hal-commit mailing list