RE: kld problem

2005-06-23 Thread gerarra
Unloading syscall kernel module can cause a system crash. It occurs when we unload the module while a process is executing our syscall. Example: MOD_QUIESCE (sys/module.h) would be helping you in situations like that. You can use a flag to rule that. greetings, rookie

kld problem

2005-06-22 Thread Mauser
Unloading syscall kernel module can cause a system crash. It occurs when we unload the module while a process is executing our syscall. Example: $ cat kldtest.c #include sys/types.h #include sys/param.h #include sys/proc.h #include sys/module.h #include sys/sysent.h #include sys/kernel.h

Re: kld problem

2005-06-22 Thread Maslan
i don't know if kld should check if the module is used or not before unloading it. but i should. On 6/22/05, Mauser [EMAIL PROTECTED] wrote: Unloading syscall kernel module can cause a system crash. It occurs when we unload the module while a process is executing our syscall. Example: $ cat

Re: kld problem

2005-06-22 Thread Dan Nelson
In the last episode (Jun 22), Mauser said: Unloading syscall kernel module can cause a system crash. It occurs when we unload the module while a process is executing our syscall. Example: $ cat kldtest.c ... static int test_syscall(struct thread *td, void *arg) { struct timeval tv;

Re: kld problem

2005-06-22 Thread Mauser
On Wed, 22 Jun 2005 16:52:58 -0500 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jun 22), Mauser said: Unloading syscall kernel module can cause a system crash. It occurs when we unload the module while a process is executing our syscall. Example: $ cat kldtest.c ...