I want to use mod_timer to timer for 10 milliseconds, but the result is always 20 milliseconds
my driver test code,I want to use mod_timer to timer for 10 milliseconds, but the result is always 20 milliseconds. what’s wrong with it? ..
Hooking syscall by modifying sys_call_table does not work
I’m trying to do basic hooking by locating sys_call_table
and modify an entry for sys_read
syscall to a function in my own kernel module. I have tried kprobes I’m just interested to do it with sys_call_table
.
Hooking syscall by modifying sys_call_table does not work
I’m trying to do basic hooking by locating sys_call_table
and modify an entry for sys_read
syscall to a function in my own kernel module. I have tried kprobes I’m just interested to do it with sys_call_table
.
calculating average load for specific process [closed]
Closed 3 days ago.
calculating average load for specific process [closed]
Closed 3 days ago.
How fork() copies pcb
Currently working on adding a feature for linux kernel, I’m trying to add a field for each process.
Is there any tool can expand linux c macro definitions during reading the code?
Linux kernel defines many macros in its code, these macros have multi-levels which is hard to expand manually. So, is there any tool can help to expand these macros?
handle data when write driver for ssd1603 linux kernel
[*hi everyone, i have a problem when writing device driver for ssd1603 but when I run and use echo “1” > /dev/my_i2c_driver and use dmesg to print data and the data is not 1, Data is:
linux header deprecated
is linux header <linux/sysctl.h> deprecated ?
linux header depricated
is linux header <linux/sysctl.h> depricated ?
I read this on man 2 sysctl :