Mailinglist Archive: opensuse-commit (1828 mails)

< Previous Next >
commit psmisc
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 01 Sep 2008 15:32:59 +0200
  • Message-id: <20080901133259.A9954678162@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package psmisc
checked in at Mon Sep 1 15:32:59 CEST 2008.


--------
--- psmisc/psmisc.changes 2008-08-22 17:12:32.000000000 +0200
+++ /mounts/work_src_done/STABLE/psmisc/psmisc.changes 2008-09-01
15:12:03.817594000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 1 15:10:43 CEST 2008 - werner@xxxxxxx
+
+- Do not leak on /proc/net/unix (bnc#417841)
+- Read /proc/net/unix and /proc/mounts only once
+
+-------------------------------------------------------------------



New:
----
psmisc-22.6-fdleak.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.Vu1866/_old 2008-09-01 15:32:44.000000000 +0200
+++ /var/tmp/diff_new_pack.Vu1866/_new 2008-09-01 15:32:44.000000000 +0200
@@ -27,7 +27,7 @@
PreReq: %fillup_prereq %insserv_prereq
AutoReqProv: on
Version: 22.6
-Release: 49
+Release: 52
Provides: ps:/usr/bin/killall
Summary: Utilities for managing processes on your system
Source:
http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2
@@ -36,6 +36,7 @@
Patch2: %name-22.6-nfs4fuser.patch
Patch3: %name-22.6-netunix.patch
Patch4: %name-22.6-writeonly.patch
+Patch5: %name-22.6-fdleak.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define nopeek s390 s390x ia64

@@ -59,6 +60,7 @@
%patch2 -p0 -b .nfs4fuser
%patch3 -p0 -b .netunix
%patch4 -p0 -b .wrtonly
+%patch5 -p0 -b .fdleak
%patch0 -p0

%build
@@ -101,6 +103,9 @@
%{_mandir}/man1/pstree.1*

%changelog
+* Mon Sep 01 2008 werner@xxxxxxx
+- Do not leak on /proc/net/unix (bnc#417841)
+- Read /proc/net/unix and /proc/mounts only once
* Fri Aug 22 2008 prusnak@xxxxxxx
- enabled SELinux support [Fate#303662]
* Thu Aug 07 2008 werner@xxxxxxx

++++++ psmisc-22.6-fdleak.patch ++++++
--- src/fuser.c
+++ src/fuser.c 2008-09-01 15:03:05.054239318 +0200
@@ -925,8 +925,10 @@ int main(int argc, char *argv[])
continue;
}

- scan_mount_devices(opts, &mount_devices);
- fill_unix_cache(&unixsockets);
+ if (!mount_devices)
+ scan_mount_devices(opts, &mount_devices);
+ if (!unixsockets)
+ fill_unix_cache(&unixsockets);

/* File specifications */
if ( (this_name = malloc(sizeof(struct names))) == NULL)
@@ -1306,6 +1308,7 @@ void fill_unix_cache(struct unixsocket_l
*unixsocket_head = newsocket;
} /* while */

+ fclose(fp);
}

/*

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread