rpms/kdebase-workspace/devel kdebase-workspace-4.3.80-xsession_errors_O_APPEND.patch, NONE, 1.1 kdebase-workspace.spec, 1.327, 1.328

Rex Dieter rdieter at fedoraproject.org
Fri Dec 11 19:29:59 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/kdebase-workspace/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15561

Modified Files:
	kdebase-workspace.spec 
Added Files:
	kdebase-workspace-4.3.80-xsession_errors_O_APPEND.patch 
Log Message:
* Fri Dec 11 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.80-4
- SELinux is preventing access to a leaked .xsession-errors-:0 file descriptor (#542312)


kdebase-workspace-4.3.80-xsession_errors_O_APPEND.patch:
 client.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE kdebase-workspace-4.3.80-xsession_errors_O_APPEND.patch ---
diff -up kdebase-workspace-4.3.80/kdm/backend/client.c.append kdebase-workspace-4.3.80/kdm/backend/client.c
--- kdebase-workspace-4.3.80/kdm/backend/client.c.append	2009-11-02 06:01:32.000000000 -0600
+++ kdebase-workspace-4.3.80/kdm/backend/client.c	2009-12-11 13:16:49.047992973 -0600
@@ -1182,7 +1182,7 @@ createClientLog( const char *log )
 		if (!(lname = expandMacros( log, macros )))
 			exit( 1 );
 		unlink( lname );
-		if ((lfd = open( lname, O_WRONLY|O_CREAT|O_EXCL, 0600 )) >= 0) {
+		if ((lfd = open( lname, O_WRONLY|O_CREAT|O_EXCL|O_APPEND, 0600 )) >= 0) {
 			dup2( lfd, 1 );
 			dup2( lfd, 2 );
 			close( lfd );


Index: kdebase-workspace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebase-workspace/devel/kdebase-workspace.spec,v
retrieving revision 1.327
retrieving revision 1.328
diff -u -p -r1.327 -r1.328
--- kdebase-workspace.spec	9 Dec 2009 23:31:51 -0000	1.327
+++ kdebase-workspace.spec	11 Dec 2009 19:29:58 -0000	1.328
@@ -7,7 +7,7 @@
 Summary: K Desktop Environment - Workspace
 Name: kdebase-workspace
 Version: 4.3.80
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdebase-workspace-%{version}.tar.bz2
 License: GPLv2
@@ -38,6 +38,7 @@ Patch17: kdebase-workspace-4.3.75-classi
 # Fix the version
 Patch18: kdebase-workspace-4.3.80-cmake-targets.patch
 Patch19: kdebase-workspace-4.3.3-kdm_plymouth.patch
+Patch20: kdebase-workspace-4.3.80-xsession_errors_O_APPEND.patch
 
 # upstream patches:
 # "keyboard stops working", https://bugs.kde.org/show_bug.cgi?id=171685#c135
@@ -274,6 +275,7 @@ Requires: akonadi
 %patch17 -p1 -b .classicmenu-logout
 %patch18 -p1 -b .cmake-targets
 %patch19 -p1 -b .kdm_plymouth
+%patch20 -p1 -b .xsession_errors_O_APPEND
 
 # upstream patches
 %patch50 -p1 -b .kde#171685
@@ -613,6 +615,9 @@ fi
 
 
 %changelog
+* Fri Dec 11 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.80-4
+- SELinux is preventing access to a leaked .xsession-errors-:0 file descriptor (#542312)
+
 * Wed Dec 09 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.80-3
 - drop polkit-qt* Obsoletes, we have a new polkit-qt now
 




More information about the fedora-extras-commits mailing list