rendered paste body[root@chantry rtdm]# ltrace insmod simple_rtdm.ko
__libc_start_main(0x400eb0, 2, 0x7fff786dcca8, 0x4012e0, 0x4012d0 <unfinished ...>
calloc(1, 1) = 0x602010
strrchr("insmod", '/') = NULL
strstr(NULL, "insmod.static" <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
[root@chantry rtdm]# ltrace /sbin/insmod simple_rtdm.ko
__libc_start_main(0x400eb0, 2, 0x7fff258d0e98, 0x4012e0, 0x4012d0 <unfinished ...>
calloc(1, 1) = 0x602010
strrchr("/sbin/insmod", '/') = "/insmod"
strstr("insmod", "insmod.static") = NULL
__errno_location() = 0x2b3e85732690
create_module(0, 0, 0x7fff258d18e9, 0, 105) = -1
malloc(16384) = 0x602030
open("simple_rtdm.ko", 0, 00) = 3
read(3, "\177ELF\002\001\001", 16384) = 8406
read(3, "", 7978) = 0
close(3) = 0
init_module(0x602030, 8406, 0x602010, -1, 524288) = 0
exit(0 <unfinished ...>
+++ exited (status 0) +++