[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/vim/FC-5 vim-selinux2.patch,NONE,1.1



Author: karsten

Update of /cvs/dist/rpms/vim/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv19212

Added Files:
	vim-selinux2.patch 
Log Message:
- copy selinux context to temporary file

vim-selinux2.patch:
 memfile.c |    3 +++
 1 files changed, 3 insertions(+)

--- NEW FILE vim-selinux2.patch ---
--- vim70/src/memfile.c	2006-05-08 11:37:01.000000000 +0200
+++ vim70/src/memfile.c.selinux	2006-05-08 11:34:45.000000000 +0200
@@ -1325,5 +1325,8 @@
 	mfp->mf_ffname = NULL;
     }
     else
+#ifdef HAVE_SELINUX
+        mch_copy_sec(fname, mfp->mf_fname);
+#endif
 	mch_hide(mfp->mf_fname);    /* try setting the 'hidden' flag */
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]