system call
A request a program makes to the kernel, such as open this file or start a new process.
In more detail
System calls are the only doorway from user space into the kernel: open, read, write, close, fork and kill are all system calls. A command can be perfectly valid while the system call it makes is refused, for example because of file permissions. When a program fails, asking whether the fault is in user space, at the system call boundary or in the kernel underneath narrows the search.
Examples
syscall.SIGTERMauditd rules record chosen system calls, such as execve, with the user behind them.Related terms
- kernel — The core of an operating system that controls the hardware and decides what every program is allowed to do.
- userland — Everything in an operating system except the kernel: the libraries, tools, shell and files programs use.
- seccomp — A Linux kernel feature that blocks a process from making system calls it has no need for.
- pivot root — A Linux system call that swaps a process to a new root directory so it can no longer see the old one.
- kernel mode — The privileged processor mode the kernel runs in, where code can touch hardware and all memory directly.
- file descriptor — A small number the operating system gives a process for each open file, socket or pipe, used in every later read or write.
Taught in
- Network Exposure: NodePorts, Host Firewalls And Egress — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Seccomp: Which Syscalls A Container May Make — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Sandboxed Pods: RuntimeClass And gVisor — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Falco: Detecting What Happens Inside Containers — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Detection Review: Which Signal Catches It? — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Mock Exam: Seventeen Security Tasks Against The Clock — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Kubernetes Pod Security Standards: Baseline & Restricted — Cloud Security & DevSecOps Engineering
- Runtime Anomaly Detection with Falco & eBPF — Cloud Security & DevSecOps Engineering
- Namespaces And Cgroups: Isolation And Limits — Docker Architecture & Production Containers
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Environment, Secret Files And Runtime Restrictions — Docker Architecture & Production Containers
- Harden And Deliver The Complete Service Stack — Docker Architecture & Production Containers
- Graceful Shutdown on SIGTERM — Concurrent Systems Programming with Go
- What A Kernel Does, And What It Refuses To Do — Linux Fundamentals & Systems Administration
- Everything Is A File: proc, sys And dev — Linux Fundamentals & Systems Administration
- libuv Architecture: Event Demultiplexer & Thread Pool — Node.js Internals & Backend Services
- Writable Streams: Drain Events & highWaterMark — Node.js Internals & Backend Services
- Directory Traversal: Recursive Readdir & fs.watch — Node.js Internals & Backend Services
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)