rpms/procps/F-7 procps-3.2.6-libselinux.patch, 1.1, 1.2 procps.spec, 1.64, 1.65

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Thu Nov 1 15:32:13 UTC 2007


Author: tsmetana

Update of /cvs/pkgs/rpms/procps/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15050

Modified Files:
	procps-3.2.6-libselinux.patch procps.spec 
Log Message:
* Thu Nov 01 2007 Tomas Smetana <tsmetana at redhat.com> 3.2.7-16.1
- fix #255441 - dlopen libselinux.so.1 (versioned DSO)


procps-3.2.6-libselinux.patch:

Index: procps-3.2.6-libselinux.patch
===================================================================
RCS file: /cvs/pkgs/rpms/procps/F-7/procps-3.2.6-libselinux.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- procps-3.2.6-libselinux.patch	15 Dec 2005 17:04:10 -0000	1.1
+++ procps-3.2.6-libselinux.patch	1 Nov 2007 15:32:08 -0000	1.2
@@ -18,15 +18,6 @@
  // This needs more study, considering:
  // 1. the static linking option (maybe disable this in that case)
  // 2. the -z and -Z option issue
-@@ -1134,7 +1134,7 @@
-   char *context;
- 
-   if(!ps_getpidcon && !tried_load){
--    void *handle = dlopen("libselinux.so.1", RTLD_NOW);
-+    void *handle = dlopen("libselinux.so", RTLD_NOW);
-     if(handle){
-       dlerror();
-       ps_getpidcon = dlsym(handle, "getpidcon");
 --- procps-3.2.6/Makefile~	2005-10-30 01:27:04.000000000 -0500
 +++ procps-3.2.6/Makefile	2005-12-13 16:32:09.000000000 -0500
 @@ -73,12 +73,12 @@


Index: procps.spec
===================================================================
RCS file: /cvs/pkgs/rpms/procps/F-7/procps.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- procps.spec	17 Sep 2007 07:08:04 -0000	1.64
+++ procps.spec	1 Nov 2007 15:32:08 -0000	1.65
@@ -1,7 +1,7 @@
 Summary: System and process monitoring utilities
 Name: procps
 Version: 3.2.7
-Release: 16%{?dist}
+Release: 16.1%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://procps.sourceforge.net
@@ -154,6 +154,9 @@
 %attr(0644,root,root) %{_mandir}/man5/*
 
 %changelog
+* Thu Nov 01 2007 Tomas Smetana <tsmetana at redhat.com> 3.2.7-16.1
+- fix #255441 - dlopen libselinux.so.1 (versioned DSO)
+
 * Wed Sep 12 2007 Tomas Smetana <tsmetana at redhat.com> 3.2.7-16
 - fix #185994 - top "Cpu0" line never updates when using
   "Single Cpu = Off" option on single processor machine




More information about the fedora-extras-commits mailing list