Tag

system call

0 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Apr 16, 2025 · Fundamentals

The Origin of System Calls and Kernel/User Modes

In the 1950s programmers wrote directly to hardware, but the fragility of hard‑coded memory and I/O led to the invention of a privileged “expert” kernel mode and a restricted “novice” user mode, with a special instruction to switch, forming the basis of modern system calls and operating system protection.

Hardware AccessKernel ModeOperating System
0 likes · 5 min read
The Origin of System Calls and Kernel/User Modes
Deepin Linux
Deepin Linux
Dec 22, 2024 · Fundamentals

Deep Dive into Linux Kernel task_struct: Structure, Fields, and Usage

This article provides a comprehensive analysis of the Linux kernel's task_struct data structure, detailing its members such as task IDs, parent‑child relationships, state flags, credentials, scheduling information, signal handling, memory and file management, kernel stack layout, and its role in process creation via system calls like fork.

C++KernelLinux
0 likes · 22 min read
Deep Dive into Linux Kernel task_struct: Structure, Fields, and Usage
Deepin Linux
Deepin Linux
Dec 14, 2024 · Fundamentals

Understanding Linux ptrace: Implementation, Usage, and Debugging Techniques

This article provides a comprehensive overview of the Linux ptrace system call, explaining its role in process debugging, detailing request parameters, demonstrating practical C examples for tracing system calls, single‑stepping, setting breakpoints, and exploring how DWARF debugging information links source code to executable addresses.

C++DWARFLinux
0 likes · 62 min read
Understanding Linux ptrace: Implementation, Usage, and Debugging Techniques
Deepin Linux
Deepin Linux
Oct 23, 2024 · Fundamentals

Understanding Linux x86-64 System Call Implementation

This article provides a comprehensive overview of how Linux kernel system calls are implemented on the x86-64 architecture, covering the conceptual differences from regular function calls, register conventions, initialization processes, syscall tables, and practical assembly examples such as write and getpid.

KernelLinuxOS internals
0 likes · 28 min read
Understanding Linux x86-64 System Call Implementation
Lobster Programming
Lobster Programming
Jul 7, 2024 · Backend Development

Understanding Linux poll(): Structure, Events, and How It Works

This article explains the Linux poll() system call, detailing its pollfd structure, event flags, parameters like nfds and timeout, return values, and step‑by‑step operation flow for reading and writing data, highlighting differences from select and its advantages on 32‑bit systems.

BackendIO MultiplexingLinux
0 likes · 5 min read
Understanding Linux poll(): Structure, Events, and How It Works
Deepin Linux
Deepin Linux
Mar 5, 2024 · Fundamentals

Understanding System Calls, APIs, and Their Relationship in Linux

This article explains the concept of system calls, how they provide a privileged interface between user programs and the kernel, distinguishes them from APIs and library functions, and describes their role in Linux operating‑system architecture and application development.

APIC libraryKernel
0 likes · 19 min read
Understanding System Calls, APIs, and Their Relationship in Linux
Deepin Linux
Deepin Linux
Nov 9, 2023 · Fundamentals

Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases

This article explains Linux memory mapping (mmap), covering its purpose, API parameters, different mapping types, internal kernel implementation, page‑fault handling, copy‑on‑write semantics, practical use cases, and includes a complete Objective‑C example demonstrating file mapping and manipulation.

Copy-on-WriteLinux kernelMMAP
0 likes · 27 min read
Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases
AntTech
AntTech
Jul 18, 2023 · Information Security

HODOR: Shrinking the Attack Surface on Node.js via System Call Limitation

Researchers from Shanghai Jiao Tong University, Ant Security Light-Year Lab, and Zhejiang University present HODOR, a system that reduces the attack surface of Node.js applications by generating fine-grained system‑call allowlists using Seccomp, achieving an average 80% reduction in exploit surface with negligible runtime overhead.

Node.jsRuntime Protectionseccomp
0 likes · 12 min read
HODOR: Shrinking the Attack Surface on Node.js via System Call Limitation
IT Architects Alliance
IT Architects Alliance
Dec 19, 2021 · Fundamentals

Traditional System Call I/O and High‑Performance Optimizations in Linux

This article explains how Linux traditional read/write system calls work, detailing the CPU, DMA copies and context switches involved, and then explores high‑performance I/O techniques such as zero‑copy, multiplexing and PageCache, together with the Linux I/O stack and buffering layers.

BufferingDMAI/O
0 likes · 11 min read
Traditional System Call I/O and High‑Performance Optimizations in Linux
Ops Development Stories
Ops Development Stories
Jul 26, 2021 · Fundamentals

Understanding Linux Process & Thread Context Switching: Concepts, Tools, and Performance Analysis

This article explains core operating‑system concepts such as processes, threads, their control blocks and contexts, details how CPU, process, and thread context switches and system calls work on Linux, and shows how to analyze them with vmstat, pidstat, and sysbench for performance tuning.

Linuxcontext switchingperformance analysis
0 likes · 19 min read
Understanding Linux Process & Thread Context Switching: Concepts, Tools, and Performance Analysis
Laravel Tech Community
Laravel Tech Community
Jul 13, 2021 · Fundamentals

Linux 5.14 Kernel First Release Candidate Announced with Major Updates

The Linux community announced the first release candidate of the 5.14 kernel, featuring contributions from about 1,650 developers, over 13,000 commits, new memfd_secret system call, extensive driver and architecture updates, and numerous core subsystem enhancements.

5.14KernelLinux
0 likes · 2 min read
Linux 5.14 Kernel First Release Candidate Announced with Major Updates
Laravel Tech Community
Laravel Tech Community
Mar 5, 2021 · Backend Development

PHP chroot() Function: Changing the Root Directory

The PHP chroot() function changes the current process's root directory to a specified path, works only on supported systems in CLI/CGI/embedded SAPI with root privileges, returns TRUE on success or FALSE on failure, and is illustrated with a simple example.

BackendPHPchroot
0 likes · 2 min read
PHP chroot() Function: Changing the Root Directory
Architects' Tech Alliance
Architects' Tech Alliance
Oct 13, 2020 · Fundamentals

Understanding Kernel Space and User Space in 32‑Bit Operating Systems

This article explains the concepts of kernel space and user space in a 32‑bit OS, why they are separated, the distinction between kernel mode and user mode, how processes transition between them, and the overall Linux system structure.

KernelLinuxOperating System
0 likes · 8 min read
Understanding Kernel Space and User Space in 32‑Bit Operating Systems
Laravel Tech Community
Laravel Tech Community
Sep 21, 2020 · Backend Development

PHP chgrp Function: Change File Group Ownership

The article explains PHP’s chgrp function, which changes a file’s group ownership, outlines its syntax, required parameters, permission restrictions, return values, and provides a complete PHP example demonstrating how to modify a file’s group and display the result.

BackendFile PermissionsUnix
0 likes · 2 min read
PHP chgrp Function: Change File Group Ownership
Sohu Tech Products
Sohu Tech Products
Jun 3, 2020 · Fundamentals

Understanding Linux System Call Mechanisms: Software Interrupts, Fast Syscall Instructions, and vDSO

Linux system calls provide the interface between user programs and the kernel, and this article explains the three implementation methods—software interrupts, fast syscall instructions (SYSENTER/SYSCALL), and the virtual dynamic shared object (vDSO)—detailing their operation, performance impact, and relevant assembly code examples.

KernelLinuxassembly
0 likes · 16 min read
Understanding Linux System Call Mechanisms: Software Interrupts, Fast Syscall Instructions, and vDSO
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 7, 2019 · Fundamentals

Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses

This article explains Linux’s virtual address space, the mmap system call, its prototype and typical applications—including shared file mapping, inter‑process communication, and file I/O optimization—while illustrating concepts with diagrams and code examples, and discusses alignment, copy‑on‑write, and memory swapping considerations.

Copy-on-WriteLinuxMMAP
0 likes · 9 min read
Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses
Efficient Ops
Efficient Ops
Jul 20, 2017 · Fundamentals

How Linux Init Switches from Kernel to User Mode: Inside kernel_execve

This article explains how the Linux init process (pid 1) transitions from kernel mode to user mode using kernel_execve and the int 0x80 system call, detailing the register changes, assembly flow, and verification experiment that reveal the privilege level switch.

Linuxinit processkernel_execve
0 likes · 10 min read
How Linux Init Switches from Kernel to User Mode: Inside kernel_execve