Systems Programming – Kernel Crash vs User-space Process Crash
A crash in User-space process (say something like segmentation fault) happens just in process virtual memory address space vs a crash in Kernel space (such as Linux Kernel which is…
a Linux and Tech Youtube Channel for advance Linux users, systems and network software programmers and tech enthusiasts
A crash in User-space process (say something like segmentation fault) happens just in process virtual memory address space vs a crash in Kernel space (such as Linux Kernel which is…
Linux Kernel Tasklets and Work queues are somewhat similar to user-space process threads in terms of the functionality and of course not in terms of its operation or its internal…
Here is a detailed YouTube video on Linux Kernel custom compilation and customization via make menuconfig interface
Learning Linux Kernel Programming is always fascinating and yet challenging. So generally you may tend to learn Kernel Module programming, since such a module can be dynamically plugged into running…
Whenever you do Linux Kernel programming, you must've noticed file operations are defined with respect to certain data-structures. Its quite common you may find these in Linux Device Drivers and…
You can optionally have a dedicated Network Console port for your Raspberry Pi PiPG device. So that you can remotely access the PiPG web UI and configure the same, while…
I was doing a general code walk of Tun/Tap drivers in /drivers/net/tun.c and /drivers/net/tap.c, which is when I stumbled across its ioctl handlers/implementation and then started comparing with generic /net/core/dev_ioctl.c.…
Linux Networking Stack Receive Flow Steering (RFS) aim is to increase data-cache hitrate by steering kernel processing of packets to the CPU where the application thread consuming the packet is…
If you are a newbie or even an experienced programmer you might have stumbled at kernel newbies page which is heaven for all those who are willing to involve in…
Here is my sample Kernel Module to drop packets (i.e sk_buff instance) captured via netfilter hooks. When you want to drop packets in your custom netfilter hooks make sure you…