From owner-freebsd-hackers Thu May 28 17:21:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02440 for freebsd-hackers-outgoing; Thu, 28 May 1998 17:21:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02214 for ; Thu, 28 May 1998 17:19:47 -0700 (PDT) (envelope-from doconnor@cain.gsoft.com.au) Received: from cain (localhost [127.0.0.1]) by cain.gsoft.com.au (8.8.8/8.6.9) with ESMTP id JAA02059; Fri, 29 May 1998 09:49:24 +0930 (CST) Message-Id: <199805290019.JAA02059@cain.gsoft.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: njs3@doc.ic.ac.uk (Niall Smart) cc: "Daniel O'Connor" , hackers@FreeBSD.ORG Subject: Re: Star Office Installation In-reply-to: Your message of "Thu, 28 May 1998 13:00:52 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 29 May 1998 09:49:23 +0930 From: "Daniel O'Connor" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Has anyone got this to install, or do I have to hack procfs myself? > maybe you can hexedit the binary so that it tries to open /p/pid/cmdline > instead. of course this necessitates generating a load of /p/2323/cmdline > /p/2324/cmdline of course. perhaps you can also change the binary so > it calls getppid instead or perhaps just get it to use a constant pid > by replacing the insns which call getpid with ones that movl $0, %eax Eeew.. possible but yucky ;) Maybe if I email the Star Office people they'll tell me why :) Buit seriously, I think I'd prefer to change procfs since it would be more useful, and probably not take much longer than hexediting the binary :) --------------------------------------------------------------------- |Daniel O'Connor software and network engineer for Genesis Software | |http://www.gsoft.com.au | |The nice thing about standards is that there are so many of them to| |choose from. -- Andrew Tanenbaum | --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message