From owner-freebsd-bugs Tue Dec 15 10:30:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA03830 for freebsd-bugs-outgoing; Tue, 15 Dec 1998 10:30:54 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA03781; Tue, 15 Dec 1998 10:30:37 -0800 (PST) (envelope-from dmlb@ragnet.demon.co.uk) Received: from [158.152.46.40] (helo=ragnet.demon.co.uk) by post.mail.demon.net with smtp (Exim 2.054 #1) id 0zpzEk-0006WT-00; Tue, 15 Dec 1998 18:30:22 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 1.82 #1) id 0zppfD-00055K-00; Tue, 15 Dec 1998 08:17:03 +0000 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199812122133.NAA14167@freefall.freebsd.org> Date: Tue, 15 Dec 1998 08:17:03 -0000 (GMT) From: Duncan Barclay To: Matt Dillon Subject: Re: kern/8802 Cc: freebsd-bugs@FreeBSD.ORG Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 12-Dec-98 Matt Dillon wrote: > Synopsis: Users can obtain a bound privaliged TCP port using portal > > State-Changed-From-To: open-closed > State-Changed-By: dillon > State-Changed-When: Sat Dec 12 13:28:40 PST 1998 > State-Changed-Why: > I fixed an unrelated MSG_EOR flagging problem in portal but I wasn't able > to reproduce the privilage problem. > > apollo:/home/dillon> read < /p/tcp/localhost/1000/priv > /p/tcp/localhost/1000/priv: Operation not permitted. > apollo:/home/dillon> read < /p/tcp/localhost/25/priv > /p/tcp/localhost/25/priv: Operation not permitted. > > I noticed your test accessed /p/tcp/localhost/1000/priv as root, perhaps > that is why you were able to obtain a privilaged port ? If I'm missing > something here, please tell me and I'll re-open the bug :-) > > -Matt Matt, I've just realised that this PR is only one of a batch of portal PR's I submitted a few weeks ago, there are other small bugs (including the MSG_EOR) that are addressed in kern/8793 kern/8796 kern/8797 kern/8798 you might like to add them too whilst the code is still in your head. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message