Skip to content

Latest commit

 

History

History
executable file
·
25 lines (13 loc) · 856 Bytes

File metadata and controls

executable file
·
25 lines (13 loc) · 856 Bytes

Linux Syscalls

In this section, we will take a look at Linux Syscalls.

  • A kernel is the major component of an operating system and is the core interface between a computer’s hardware and its processes.

  • The Kernel can be divided into two memory areas, user space and kernel space.

kernel

  • Applications running in user space get access to data on devices by making special requests to the kernel called system calls.

  • If we want to create an empty file called error.login the /tmp file system – it will make several system calls.

    kernelTouch

  • Tracing the syscalls used by a process

    which trace
    strace touch /tmp/error.log
    

trace