Tagged articles
1 articles
Page 1 of 1
ITPUB
ITPUB
Feb 4, 2021 · Fundamentals

Unveiling Linux System Call Mechanics: From syscall to sysret

This article provides a comprehensive, step‑by‑step walkthrough of how Linux handles system calls, covering the low‑level assembly entry point, register conventions, the sys_call_table registration process, struct pt_regs usage, and a practical write‑syscall example with a custom extension.

KernelLinuxOperating System
0 likes · 12 min read
Unveiling Linux System Call Mechanics: From syscall to sysret