From owner-freebsd-stable@FreeBSD.ORG Wed Jun 15 14:44:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0499C1065672 for ; Wed, 15 Jun 2011 14:44:57 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id ADB268FC08 for ; Wed, 15 Jun 2011 14:44:56 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 93F8D7A; Wed, 15 Jun 2011 16:44:55 +0200 (MET DST) Date: Wed, 15 Jun 2011 16:44:55 +0200 From: Joerg Wunsch To: freebsd-stable@freebsd.org Message-ID: <20110615144455.GS23206@uriah.heep.sax.de> References: <20110615135704.GQ23206@uriah.heep.sax.de> <20110615140051.GL48734@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110615140051.GL48734@deviant.kiev.zoral.com.ua> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: doscmd under 8-stable, anyone? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 14:44:57 -0000 As Kostik Belousov wrote: > Do sysctl security.bsd.map_at_zero=1 Just for the record, this sysctl also makes my really really old utree binary work again. The binary dates back to 386BSD 0.0, and I'm only keeping it out of curiosity: j@uriah 66% ls -l /usr/local/bin/utree -rwxr-xr-x 1 bin bin 179639 Apr 30 1992 /usr/local/bin/utree* The only thing to make it run is to use a termcap entry that is smaller than 1024 byte, as this used to be a hard-coded limitation in the termcap library of those days, and the binary is statically linked. TERM=vt100 works, xterm no longer does. The ability to run this binary only serves as a proof that no backward compatibility has ever been broken in FreeBSD. ;-) (Obviously, all the various COMPAT_* options must be present in the kernel config.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)