Subject: Re: firefox-bin-java anyone?
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 09/29/2005 14:14:12
In article <Pine.NEB.4.63.0509291005020.8521@server.duh.org>,
Todd Vierling  <tv@duh.org> wrote:
>On Thu, 29 Sep 2005, Christos Zoulas wrote:
>
>> 1. You need to mount procfs with -o linux because the linux emulated java
>>    depends on procfs to find the stack location.
>
>Speaking of which, this should become the default in any kernel with
>COMPAT_LINUX enabled (or just turn on the compat bits always!).  It's long
>past time to stop requiring a special mount option just to get 15-20% of an
>emulated platform's binaries to work.

You are suggesting that we add:

	char buf[256];

	if (sysctlbyname("emul.linux.kern.ostype",
	    NULL, 0, buf, sizeof(buf)) != -1)
		flags |=  PROCFSMNT_LINUXCOMPAT;

to mount_procfs?

christos