From owner-freebsd-current@FreeBSD.ORG Thu Mar 25 02:30:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFF3316A4CF; Thu, 25 Mar 2004 02:30:22 -0800 (PST) Received: from novacom.pl (foo.frob.nl [212.106.140.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150FC43D3F; Thu, 25 Mar 2004 02:30:22 -0800 (PST) (envelope-from nils@novacom.pl) Received: from nils by novacom.pl with local (Exim 4.30) id 1B6S9v-0001vX-0W; Thu, 25 Mar 2004 11:32:23 +0100 Date: Thu, 25 Mar 2004 11:32:22 +0100 From: Rafal Skoczylas To: Pawel Jakub Dawidek Message-ID: <20040325103222.GA7210@secprog.org> References: <20040323223020.GA2931@secprog.org> <20040324225318.GS8930@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20040324225318.GS8930@darkness.comp.waw.pl> User-Agent: Mutt/1.5.5i Sender: cc: freebsd-current@freebsd.org Subject: Re: [UFS] Broken suiddir? (+patch) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rafal Skoczylas List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 10:30:22 -0000 On Wed, Mar 24, 2004 at 11:53:18PM +0100, Pawel Jakub Dawidek wrote: > +> - ucred.cr_uid = ip->i_uid; > +> + ucred.cr_uid = dp->i_uid; > > I haven't test your report and patch yet, but it is strange. > In line 1403 stays: > > ip->i_uid = dp->i_uid; > > So ip->i_uid should be equal in line which you have patched. Indeed, but somehow it wasn't. Hmm.. maybe I did some mistake when testing, but still this is quite strange as I asked a friend of mine to test it as well (on the same system tho) and we both had same results. Could anyone else try this? -- Rafal Skoczylas Hmm, or maybe I broke my system elsewhere? :| No, i don't think so. But still possible.