From owner-cvs-all Wed Jan 16 6:50:26 2002 Delivered-To: cvs-all@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id D4C1A37B417; Wed, 16 Jan 2002 06:50:11 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id PAA02879; Wed, 16 Jan 2002 15:50:06 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g0GEgAL15829; Wed, 16 Jan 2002 15:42:10 +0100 (MET) (envelope-from j) Date: Wed, 16 Jan 2002 15:42:10 +0100 From: Joerg Wunsch To: Robert Watson Cc: Greg Lehey , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/man/man Makefile man.c src/etc/mtree BSD.local.dist BSD.usr.dist BSD.x11-4.dist BSD.x11.dist Message-ID: <20020116154210.A74132@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , Robert Watson , Greg Lehey , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <20020116132917.K78030@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Tue, Jan 15, 2002 at 10:55:14PM -0500 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As Robert Watson wrote: > There's a > lot of risk involved here, not all that disimilar to the risk involved in > setuid suidperl. We turn that off by default, and users can always turn > it on if they need it. I'd wish we could also (optionally) turn suidness on again for man(1), in the same way it can be done for suidperl (i. e. via /etc/make.conf). For my usual home machine, security implications of someone clobbering my catpages aren't of concern to me, but i somewhat like the idea of a `catpage cache' (as opposed to always catmanning the entire tree). > We have a catman distribution already, I believe, which can be enabled in > sysinstall. Maybe it's time to make it part of the default install, if it > isn't already. I wouldn't do this. For CPUs with clocks in the Gigahertz range, it's not that hard to trade speed (reformat the page each time) against the space required by the catpages. Solaris doesn't store catpages, for example. I once created the catman distribution mainly with the idea in mind to save CPU time on slow machines. Owners of slow machines are then still free to install this distribution. The sad thing: it now might cause catfiles to become stale, if the luser installed more recent man pages. I hope man(1) is smart enough to handle that situation, and would reformat the more recent man source instead of displaying the stale catpage then. (Owners of slow machines probably won't like the idea much to re-catman the entire tree regularly.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message