Tracing syscalls using Strace

syscalls? huh? what is that? Well the man page of syscall says that “The system call is the fundamental interface between an application and the Linux kernel.” Also “System calls are generally not invoked directly, but rather via wrapper functions in glibc (or perhaps some other library)”. For an user level application to interact with the kernel, syscalls are required. But what is that wrapper function in glibc? Lets understand this using an example.
Read more →

Linux Kernel Module

What is a linux kernel modeule ? Linux kernel module is a program that can be used to extend the functionality of the linux kernel without the need to rebuild and reboot the kernel everytime someone wants some new functionality. It can be loaded and unloaded into the kernel whenever the user wants. How to look for current loaded modules in the kernel? You can look for the current loaded module in the linux kernel by using the command
Read more →