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
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
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
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;
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
...
5 matches
Mail list logo