tech-kern archive

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

Re: Regarding the ULTRIX and OSF1 compats



Le 24/03/2019 à 00:41, Thor Lancelot Simon a écrit :
On Sun, Mar 17, 2019 at 05:41:18AM +0800, Paul Goyette wrote:
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

[...]

There's a funny historical reason for this -- Linux on Alpha originally
used OSF/1 syscall numbering and args for its own native syscalls.

No, our implementation need not actually reflect that -- but it's an
interesting historical detail perhaps we should write down somewhere.

Does that mean we don't need these syscalls?


Home | Main Index | Thread Index | Old Index