From owner-freebsd-chat Sun Mar 17 14:51:25 1996 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA11849 for chat-outgoing; Sun, 17 Mar 1996 14:51:25 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA11843 for ; Sun, 17 Mar 1996 14:51:19 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA06541 for ; Sun, 17 Mar 1996 23:50:41 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA27651 for freebsd-chat@freebsd.org; Sun, 17 Mar 1996 23:50:40 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id XAA22694 for freebsd-chat@freebsd.org; Sun, 17 Mar 1996 23:41:36 +0100 (MET) From: J Wunsch Message-Id: <199603172241.XAA22694@uriah.heep.sax.de> Subject: Re: Application Development (fwd) To: freebsd-chat@freebsd.org Date: Sun, 17 Mar 1996 23:41:36 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603171226.NAA10064@keltia.freenix.fr> from "Ollivier Robert" at Mar 17, 96 01:26:54 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Ollivier Robert wrote: > > They execute /bin/mkdir (from inside a C program). !!! > > I seem to remember old SysV (3.0 or maybe even 2.x) didn't have a mkdir(2) > syscall and that was why /bin/mkdir was setuid-root in order to mknod the > directory. That's probably "legacy code" from these days :-) Hmm. Really SysV? I thought the ``one-step commit'' for directory creation was older. At least, the ISC SVR3.2 i've once been playing with did already have mkdir(2). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)