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

Bug#254180: marked as done ([OSHURD] start-stop-daemon.c:pid_is_user has Linux code)



Your message dated Mon, 19 Jul 2004 15:47:30 -0400
with message-id <E1Bme6k-00031O-00@newraff.debian.org>
and subject line Bug#133640: fixed in dpkg 1.10.23
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jun 2004 14:03:57 +0000
>From ogi@fmi.uni-sofia.bg Sun Jun 13 07:03:57 2004
Return-path: <ogi@fmi.uni-sofia.bg>
Received: from lio.fmi.uni-sofia.bg (smtp.fmi.uni-sofia.bg) [62.44.101.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BZVaX-0005fD-00; Sun, 13 Jun 2004 07:03:57 -0700
Received: from fmi.uni-sofia.bg ([62.44.101.36])
	by smtp.fmi.uni-sofia.bg
	for submit@bugs.debian.org;
	Fri, 20 Feb 2004 17:02:11 +0200
Message-ID: <40CC5F5C.6000808@fmi.uni-sofia.bg>
Date: Sun, 13 Jun 2004 17:06:20 +0300
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
Organization: Faculty of Mathematics and Informatics, University of Sofia
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-0.backports.org.1
X-Accept-Language: en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: [OSHURD] start-stop-daemon.c:pid_is_user has Linux code
Content-Type: multipart/mixed;
 boundary="------------000402000308040700060403"
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_20,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part message in MIME format.
--------------000402000308040700060403
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Package: dpkg
Version: 1.10.22
Tags: sid, patch

It seems that some Linux code is copied into pid_is_user function by 
accident.  Patch is applied.

Regards,
ogi

--------------000402000308040700060403
Content-Type: text/plain;
 name="ssd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ssd.diff"

--- start-stop-daemon.c.orig	Sun Jun 13 17:02:02 2004
+++ start-stop-daemon.c	Sun Jun 13 17:02:14 2004
@@ -645,10 +645,6 @@ pid_is_user(pid_t pid, uid_t uid)
 	char buf[32];
 	struct proc_stat *pstat;
 
-	sprintf(buf, "/proc/%d", pid);
-	if (stat(buf, &sb) != 0)
-		return 0;
-	return (sb.st_uid == uid);
 	pstat = proc_stat_list_pid_proc_stat (procset, pid);
 	if (pstat)
 		proc_stat_set_flags (pstat, PSTAT_PID | PSTAT_OWNER_UID);

--------------000402000308040700060403--


---------------------------------------
Received: (at 133640-close) by bugs.debian.org; 19 Jul 2004 19:53:58 +0000
>From katie@ftp-master.debian.org Mon Jul 19 12:53:58 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BmeCx-0002kC-00; Mon, 19 Jul 2004 12:53:56 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Bme6k-00031O-00; Mon, 19 Jul 2004 15:47:30 -0400
From: Scott James Remnant <scott@netsplit.com>
To: 133640-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#133640: fixed in dpkg 1.10.23
Message-Id: <E1Bme6k-00031O-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 19 Jul 2004 15:47:30 -0400
Delivered-To: 133640-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: dpkg
Source-Version: 1.10.23

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:

dpkg-dev_1.10.23_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.23_all.deb
dpkg-doc_1.10.23_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.23_all.deb
dpkg_1.10.23.dsc
  to pool/main/d/dpkg/dpkg_1.10.23.dsc
dpkg_1.10.23.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.23.tar.gz
dpkg_1.10.23_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.23_i386.deb
dselect_1.10.23_i386.deb
  to pool/main/d/dpkg/dselect_1.10.23_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 133640@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott James Remnant <scott@netsplit.com> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 19 Jul 2004 19:52:14 +0100
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source all i386
Version: 1.10.23
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Scott James Remnant <scott@netsplit.com>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 133640 246158 246159 246160 246161 246162 246163 246164 252346 252407 252586 254175 254180 254209 254590 254598 256302
Changes: 
 dpkg (1.10.23) unstable; urgency=low
 .
   The "Let the Wookie win" Release.
 .
   * Updated hurd start-stop-daemon support.  Closes: #133640, #254180.
   * Removed usage of non-POSIX test options.  Closes: #256302.
 .
   * Architecture Support:
     - Renamed x86-64 to amd64.  Closes: #252346, #254598.
   * Documentation:
     - Correct typo in dpkg-divert(8).  Closes: #254175.
   * New Translations:
     - Korean (Changwoo Ryu).  Closes: #254590.
   * Updated Translations:
     - Catalan (Jordi Mallach).
     - Danish (Claus Hindsgaul).  Closes: #252407.
     - French (Christian Perrier).  Closes: #252586.
     - Italian (Lele Gaifax).
     - Polish (Bartosz Fenski).  Closes: #254209.
     - Spanish manpages (Ruben Porras).  Closes: #246158, #246159, #246160,
       #246161, #246162, #246163, #246164.
Files: 
 2eb35b462d81826455016fad6c5e8f3a 798 base required dpkg_1.10.23.dsc
 94a845ab0e14deb196d43e03c48a16b9 1763248 base required dpkg_1.10.23.tar.gz
 d6498369a2404180e10950ff1162ccec 1341122 base required dpkg_1.10.23_i386.deb
 edf5d858fc64757ef43855935ff961c7 119848 base required dselect_1.10.23_i386.deb
 2eabc2d309da69a9cb0449652e65221b 165728 utils standard dpkg-dev_1.10.23_all.deb
 bb925ebd2e7c47eacab34ed4cc171941 10612 doc optional dpkg-doc_1.10.23_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/BqrIexP3IStZ2wRAn7qAJ45IerZoUtRwmicirNhEE6BFlbESACgo//G
tnS5yOFrND1ZGS/aaL8BZfs=
=SC/e
-----END PGP SIGNATURE-----



Reply to: