Subject: SYS___syscall and linux (etc) compatibility
To: None <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 07/04/2003 16:51:05
AFAICT the kernel system call entry (esp. the i386 one) assumes that
system call 198 is sys___syscall (ie the actual system call number
is the first 64bit argument).
However it does this before consulting the p->p_emul->e_sysent
This means that:
1) Anything trying to do syscall 198 on any emulation is doomed.
2) Anything trying to do sys___syscall on an emulation is probably doomed.
Have I missed something obvious???
On linux i386 I think 198 is lchown.
David Laight: email@example.com