From owner-cvs-sys Wed Nov 1 00:51:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA03496 for cvs-sys-outgoing; Wed, 1 Nov 1995 00:51:49 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA03477 ; Wed, 1 Nov 1995 00:51:25 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA27722; Wed, 1 Nov 1995 09:51:13 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA03493; Wed, 1 Nov 1995 09:51:12 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA16876; Wed, 1 Nov 1995 09:50:03 +0100 From: J Wunsch Message-Id: <199511010850.JAA16876@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/i386/isa isa.c To: peter@jhome.dialix.com (Peter Wemm) Date: Wed, 1 Nov 1995 09:50:03 +0100 (MET) Cc: roberto@keltia.freenix.fr, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Peter Wemm" at Nov 1, 95 03:30:28 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 655 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk As Peter Wemm wrote: > What bothers me, is how a non-setuid process suddenly got a new getlogin > name. Maybe it's a perl bug (but it does little more than a > strdup(getlogin()) - it'd be hard for that code to have a bug..), or a libc > bug with the static buffer getting munched. case O_GETLOGIN: #ifdef HAS_GETLOGIN if (!(tmps = getlogin())) goto say_undef; str_set(str,tmps); #else fatal("Unsupported function getlogin"); #endif break; -- 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. ;-)