Skip to content

Tag: linux-kernel

System crash with Linux CryptoApi Module

I tried to write Linux kernel module with cryptoapi. I found some examples like this: https://codedream.me/2014/04/cryptoapi-linux-kernel/ This example is working for me. Then I made some changes. Now my system crashes, when I try to load module. Can you help me with this? When variable len = 1000, module is …

Usage of lstat / stat from the linux kernel?

I’m hoping someone can fact check my assumptions on the question “Can lstat and/or stat be called form the Linux kernel 3.10.0 in Centos 7. I’ve been searching and reading as much as I can find and have only been able to confuse myself. I can’t tell if the examples I am finding are ava…

lookup the lock statistic in linux kernel

I study Linux lock mechanism recently, and want to see the lock holding and waiting time. So I turn on CONFIG_LOCK_STAT flag in the .config file via make menuconfig and after recompiling the kernel run the command: I got the following message: Just don’t know why, since I’ve turn on all the flags …