[OpenAFS-devel] sys_call_table on mips
Derrick J Brashear
shadow@dementia.org
Sat, 4 Oct 2003 15:10:45 -0400 (EDT)
On Fri, 3 Oct 2003, Ryan Underwood wrote:
> > > checking for exported sys_chdir... (cached) no
> > > checking for exported sys_close... (cached) yes
> > > checking for exported sys_wait4... (cached) no
> > >
> > > What do you think?
> >
> > you need to find another exported system call, hardcode the address of the
> > sys_call_table (possibly by passing it as a module parameter), or pray the
> > place you find a pointer to sys_close is in the sys_call_table.
>
> Does it have to be an exported system call, or can it be any
> exported sys_* symbol? I have a sys_tz which is a struct timeval (I
> think).
if there's not a pointer to it in sys_call_table you can't use it to
determine if 2 pointers are the requisite distance apart and thus likely
in the table.