How Inotify works - part 2 - How a system call is called
In this blog post we will try to understand how Inotify can be called from the user space to the kernel space, moving from our process to the libc, the c standard library. If we invoke strace in our Linux shell with a program as argument, we will see the system call called by the process passed as an argument. strace is a Linux command that records the system calls done by our program while executing, from the user space to the kernel space. It prints to screen the system call name, the parameters passed to the system call and the system call return value. ...