Port-pmax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Regarding the ULTRIX and OSF1 compats




To: Paul Goyette <paul%whooppee.com@localhost>

Subject: Re: Regarding the ULTRIX and OSF1 compats

From: Maxime Villard <max%m00nbsd.net@localhost>

Date: Sat, 23 Mar 2019 15:50:52 +0100


Le 16/03/2019 à 22:41, Paul Goyette a écrit :

On Sat, 16 Mar 2019, Maxime Villard wrote:


Regarding COMPAT_OSF1: I'm not totally sure, but it seems that Alpha's
COMPAT_LINUX uses COMPAT_OSF1 as dependency (even if there is no proper
dependency in the module), because there are osf1_* calls. Some more
compat mess to untangle, it seems...

In all cases, it's only a few functions that are just wrappers, so it
probably shouldn't be too complicated to solve.


It's a total of 15 functions (I generated this list by building an alpha GENERIC kernel with COMPAT_OSF1 removed):

         osf1_sys_wait4
         osf1_sys_mount
         osf1_sys_set_program_attributes
         osf1_sys_setitimer
         osf1_sys_select
         osf1_sys_gettimeofday
         osf1_sys_getrusage
         osf1_sys_settimeofday
         osf1_sys_utimes
         osf1_sys_statfs
         osf1_sys_fstatfs
         osf1_sys_sysinfo
         osf1_sys_usleep_thread
         osf1_sys_getsysinfo
         osf1_sys_setsysinfo

All of these are references from linux_sysent.o


Here is a patch [1] that untangles the dependency. Cross-compile-tested on
alpha from amd64.

[1] https://m00nbsd.net/garbage/compat/alpha.diff


Follow-Ups:

Re: Regarding the ULTRIX and OSF1 compats
From: Jason Thorpe


References:

Re: Regarding the ULTRIX and OSF1 compats
From: John Nemeth

Re: Regarding the ULTRIX and OSF1 compats
From: Maxime Villard

Re: Regarding the ULTRIX and OSF1 compats
From: Paul Goyette




Prev by Date: Re: Regarding the ULTRIX and OSF1 compats

Next by Date: Re: Regarding the ULTRIX and OSF1 compats

Previous by Thread: Re: Regarding the ULTRIX and OSF1 compats

Next by Thread: Re: Regarding the ULTRIX and OSF1 compats

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index