Top "Linux-kernel" questions

This tag is for questions about the internals of the Linux kernel itself - particularly about writing code that runs within the context of the kernel (like kernel modules or drivers).

How nl80211 library & cfg80211 work?

I want to learn about how nl80211 and cfg80211 works in detail. Function flow, how nl80211 interact with network tools …

c linux-kernel linux-device-driver wifi
Running docker on Android

With Android 4.4 KitKat, Google is upgrading linux kernel to version 3.8 which is the required kernel version for Docker. I don't …

android linux linux-kernel docker
How to get current hour (time of day) in linux kernel space

I'm writing a kernel module that checks to see if the time is between two specified hours, and disables input …

c linux linux-kernel kernel-module
module compiling : asm/linkage.h file not found

I am trying to compile an example of "hello world" Kernel Module, problems found on ubuntu 11.04, kernel 3.2.6, gcc 4.5.2 and fedora 16, …

linux linux-kernel kernel kernel-module
How to undo rm -rf?

How we I undo the rm -rf command? For example, I have an Application folder and I removed it with: …

linux macos linux-kernel ubuntu-12.04 linux-mint
Linux kernel device driver to DMA from a device into user-space memory

I want to get data from a DMA enabled, PCIe hardware device into user-space as quickly as possible. Q: How …

linux linux-kernel linux-device-driver dma
uevent sent from kernel to user space (udev)

I knew that udev plays on the linux system and it receives uevents sent from the kernel through netlink socket. …

linux linux-kernel udev
How to access(if possible) kernel space from user space?

How exactly is user memory and kernels memory differentiated inside the Linux kernel(in terms of giving security to kernel …

linux memory-management linux-kernel mmap
How to access mmaped /dev/mem without crashing the Linux kernel?

I have a simple program that tries to access the physical memory in user space, where the kernel stores the 1…

c linux linux-kernel mmap
Who calls the probe() of driver

How does probe() call gets called? Who calls it? As per my understanding, __init() registers driver and then somehow probe() …

linux-kernel linux-device-driver