Skip to contentSkip to conversation

Shared ia32 syscall table

PATCH Chuck Ebbert 2 participants 2 messages Jan 24, 2006

lore
Share & tools
lore
#0 lore raw

In-Reply-To: <[email protected]>

Quoted 8 lines · Andi Kleen
Quoted 3 lines · Chuck Ebbert

This patch series updates i386 and x86_64 so they share the same ia32 syscall table. UML already uses the i386 table and is updated to use the new shared table as well.

That's wrong for x86-64. The IA32 syscall table needs to point to compat_* version of syscalls, while the native IA32 table uses sys_* directly.

How could I have possibly gotten a successful boot of an i386 distro on top of the patched x86_64 kernel if this were wrong?

Did you even look at the patches?

Signature · 1 line
Chuck
#1 lore raw
Quoted 9 lines · Chuck Ebbert

In-Reply-To: <[email protected]>

Quoted 5 lines · Andi Kleen
Quoted 3 lines · Chuck Ebbert

This patch series updates i386 and x86_64 so they share the same ia32 syscall table. UML already uses the i386 table and is updated to use the new shared table as well.

Quoted 8 lines
Quoted 3 lines

That's wrong for x86-64. The IA32 syscall table needs to point to compat_* version of syscalls, while the native IA32 table uses sys_* directly.

How could I have possibly gotten a successful boot of an i386 distro on top of the patched x86_64 kernel if this were wrong?

Did you even look at the patches?

No, because they arrived more than an hour after the initial description and i just replied to that.

Looking at the patch I must say I prefer the old straight table over your #define mess.

-Andi