From owner-freebsd-hackers Mon May 22 10:57:06 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA00650 for hackers-outgoing; Mon, 22 May 1995 10:57:06 -0700 Received: from bigdipper.iagi.net (bigdipper.iagi.net [198.6.14.10]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA00644 for ; Mon, 22 May 1995 10:57:02 -0700 Received: (from adhir@localhost) by bigdipper.iagi.net (8.6.8/8.6.6) id NAA06326; Mon, 22 May 1995 13:56:45 -0400 Date: Mon, 22 May 1995 13:56:44 -0400 (EDT) From: "Alok K. Dhir" To: Philippe Charnier cc: hackers@FreeBSD.org Subject: Re: sysctl(3) in kernel modules. In-Reply-To: <199505200842.KAA00523@lirmm.lirmm.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk On Sat, 20 May 1995, Philippe Charnier wrote: > Hello, > > I'm trying to patch the snake saver, in the way it can find itself the > name and version (i.e return value of uname -s and uname -r). The code > is made but it use sysctl(3) for now, ... and don't compile (sysctl is > part of libc). So far, we've been patching the snake saver (at the office) to say "Internet Access Group, Inc." instead of "FreeBSD 2.1". It would be nice if a "-string whatever" flag was added so the patch wouldn't be necessary. So as not to duplicate (or step on) your efforts, perhaps you should throw it in while you're working on it? Any comments/objections? Alok K. Dhir Internet Access Group, Inc. adhir@iagi.net (301) 652-0484 Fax: (301) 652-0649 http://www.iagi.net