From owner-freebsd-current Wed Dec 2 10:01:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA18041 for freebsd-current-outgoing; Wed, 2 Dec 1998 10:01:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from fledge.watson.org (FLEDGE.RES.CMU.EDU [128.2.93.229]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA18026 for ; Wed, 2 Dec 1998 10:01:20 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id MAA04843; Wed, 2 Dec 1998 12:58:44 -0500 (EST) Date: Wed, 2 Dec 1998 12:58:44 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Mike Smith cc: Andrzej Bialecki , Pascal Hofstee , Shawn Ramsey , oZZ!!! , current@FreeBSD.ORG Subject: Re: StarOffice-5.0... In-Reply-To: <199811290924.BAA00650@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 29 Nov 1998, Mike Smith wrote: > > Yes, I've got the diffs against relatively fresh current. BTW, I asked > > this question on -emulation, but got back a profound silence... Can we/ > > should we incorporate this patch, and hide it under a kernel option, say > > PROCFS_CMDLINE? The life would be soooo easier for people new to our linux > > emulation... > > A couple of things: > > - If it's part of our emulation support, it should probably be the > default (cringe). > - Your patch doesn't preserve the remainder of the commandline > arguments. Feel like fixing this and resubmitting it? I suppose there is no easy way for the procfs code to determine if the relevant calls are coming from a linux emulated process or not? If there were, then the command line stuff could be made only to appear for Linux processes. I'm guessing, however, that only the creds and arguments to the vfs call make it that far down, and use of curproc seems inappropriate? Or, if loadable kernel modules (or whatever they are called today) could add hook functions to the procfs module via some symbol or another, then new items could be added based on context. That however, seems a little too busy, given that stackable file systems don't work. :) Robert N Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: 03 01 DD 8E 15 67 48 73 25 6D 10 FC EC 68 C1 1C Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ SafePort Network Services http://www.safeport.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message