rpms/openssh/devel openssh-5.2p1-sesftp.patch,1.4,1.5

Jan F. Chadima jfch2222 at fedoraproject.org
Wed Aug 26 10:44:57 UTC 2009


Author: jfch2222

Update of /cvs/pkgs/rpms/openssh/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4637

Modified Files:
	openssh-5.2p1-sesftp.patch 
Log Message:
Minor repair of sesftp patch


openssh-5.2p1-sesftp.patch:
 session.c |   26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

Index: openssh-5.2p1-sesftp.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openssh/devel/openssh-5.2p1-sesftp.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- openssh-5.2p1-sesftp.patch	24 Jul 2009 06:15:35 -0000	1.4
+++ openssh-5.2p1-sesftp.patch	26 Aug 2009 10:44:57 -0000	1.5
@@ -39,7 +39,7 @@ diff -up openssh-5.2p1/session.c.sesftp 
 +				strcpy (c2 + l, "sftpd_t");
 +				if ((cx = index (cx + 1, ':')))
 +					strcat (c2, cx);
-+				if (setcon ("system_u:system_r:sftpd_t:s0-s0:c0.c1023") < 0) 
++				if (setcon (c2) < 0) 
 +					logit("do_child: setcon failed witch %s", strerror (errno));
 +			
 +			}




More information about the fedora-extras-commits mailing list