From owner-freebsd-hackers Tue Sep 19 14:35:19 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA00815 for hackers-outgoing; Tue, 19 Sep 1995 14:35:19 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA00769 for ; Tue, 19 Sep 1995 14:34:51 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA10738; Tue, 19 Sep 1995 14:29:57 -0700 From: Terry Lambert Message-Id: <199509192129.OAA10738@phaeton.artisoft.com> Subject: Re: suspect code in 'unlink' syscall. To: bde@zeta.org.au (Bruce Evans) Date: Tue, 19 Sep 1995 14:29:56 -0700 (MST) Cc: julian@ref.tfs.com, terry@lambert.org, hackers@FreeBSD.ORG In-Reply-To: <199509190730.RAA30694@godzilla.zeta.org.au> from "Bruce Evans" at Sep 19, 95 05:30:19 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 439 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > This way, the error code is bogusly set for non-root, so that only root > can unlink anything. Also, root is bogusly recorded as having used the > superuser privilege to unlink non-directories. Also, the formatting is > messed up. > > You may have added some gotos to avoid the first bug. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.