amd64, COMPAT_IA32 & syscall diverts

Andrew N. Below defan at zenon.net
Wed Sep 17 20:39:44 UTC 2008


On Wed, 17 Sep 2008, Julian Elischer wrote:

>>>> Seems like these calls are made bypassing
>>>> our kernel module.
>>> x86 binaries use a separate syscall table, so you need to patch
>>> both tables.
>> Where can I find something about that table?
> the compat stuff is in /sys/compat/ia32/
> So I would start there and follow the logic.

Thanks, extern struct sysent freebsd32_sysent[] is what I need.

The final problem I have to solve is to find a way to
determine where exactly syscall called from (64bit or
compat)...

--
Andrew


More information about the freebsd-hackers mailing list