From owner-freebsd-current Mon Mar 11 15:03:11 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27120 for current-outgoing; Mon, 11 Mar 1996 15:03:11 -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 PAA27114 for ; Mon, 11 Mar 1996 15:03:08 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA14632 for ; Tue, 12 Mar 1996 00:01:47 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA27751 for freebsd-current@FreeBSD.org; Tue, 12 Mar 1996 00:01:47 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id XAA00295 for freebsd-current@FreeBSD.org; Mon, 11 Mar 1996 23:12:35 +0100 (MET) From: J Wunsch Message-Id: <199603112212.XAA00295@uriah.heep.sax.de> Subject: Re: system() broken while mmap()ing something To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 11 Mar 1996 23:12:34 +0100 (MET) In-Reply-To: from "j" at Mar 11, 96 10:22:06 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-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Following up to myself... I've just tested David's program on my machine. > I've attached a test program that does demonstrate a problem. The program > isn't what I originally had in mind. This one mmaps the BIOS, and in three > phases it "writes" to it, and reads back the result. Since the BIOS is > read-only, mismatches should occur in each phase, however on FreeBSD-current, > the last phase (after a system("/bin/ls > /tmp/l")) reports no mismatches. > On FreeBSD-2.0.5, mismatches are correctly reported at each phase. The results for me are: kernel version David's program XServer w/ Xkb enabled runs okay? doesn't crash system? Mar 9, 1996 No. No. Feb 3, 1996 Yes. No. Mar, 1995 (GENERIC 2.0.5?) Yes. Yes. So, the test program only seems to show the most evil behaviour. -- 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. ;-)