From owner-freebsd-arch Fri Feb 23 14:33:39 2001 Delivered-To: freebsd-arch@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 02FE237B401; Fri, 23 Feb 2001 14:33:37 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1NMUxl43655; Fri, 23 Feb 2001 14:30:59 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010223142120.Q5714@prism.flugsvamp.com> Date: Fri, 23 Feb 2001 14:33:15 -0800 (PST) From: John Baldwin To: Jonathan Lemon Subject: Re: sysctl kern.fallback_elf_brand Cc: arch@FreeBSD.org, "David O'Brien" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23-Feb-01 Jonathan Lemon wrote: > On Fri, Feb 23, 2001 at 12:13:28PM -0800, David O'Brien wrote: >> On Fri, Feb 23, 2001 at 08:58:49AM -0600, Jonathan Lemon wrote: >> > +/* magic marker for fallback elf brand, not for e_ident[EI_OSABI] */ >> > +#define ELFOSABI_NONE (-1) /* No OSABI defined */ >> >> Please do not commit this (see my earlier message). >> >> My version of this uses the naked "-1". Please do not make up >> non-standard (ie, not defined by the ELF ABI maintainers) symbols. > > Yes, I thought about doing that as well, but thought it might be > clearer to have the '-1' documented somewhere, especially since > it is visible to the user via a sysctl. Then write a SYSCTL_PROC that uses strings to interface to the user rather than numbers... -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message