> You could overwrite sysent[SYS_kldload] to point to your own kldload
> function. After you do what you want to, you return what the original
> kldload returns. Meaning, call the original kldload and return it\'s
value.
>
> int (*orig_kldload)(struct thread *, struct kldload_args *) =
> sysent[SY
Mmaist wrote:
> Hi!
> I was wondering were syscalls implementation is in the FreeBSD source tree.
> I would like to know, especially, where
>
> int kldload(const char*);
>
> is located. sys/kern/kern_linker.c contains
>
> int
> kldload(struct thread *, struct kldl
TECTED]>
Sent: Wednesday, August 25, 2004 7:30 AM
Subject: syscalls implementation
> Hi!
> I was wondering were syscalls implementation is in the FreeBSD source
tree.
> I would like to know, especially, where
>
> int kldload(const char*);
>
> is located. sys/kern/kern_linker.c co
Hi!
I was wondering were syscalls implementation is in the FreeBSD source tree.
I would like to know, especially, where
int kldload(const char*);
is located. sys/kern/kern_linker.c contains
int
kldload(struct thread *, struct kldload_args *)
and I need to watch at what called between them
4 matches
Mail list logo