Latest articles
6 articles in the current browsing window, ordered by publication date.
Android 17 enhances Binder observability with a lock-free SPSC queue, boot-stable sharding, exponential latency histograms, and CPU sampling in the user-space Observer V2, while introducing a kernel Netlink channel for asynchronous, zero-overhead IPC error events like frozen transactions and spam detection.

This article explains how Linux’s Netlink mechanism provides efficient, full‑duplex communication between kernel space and user space, overcoming the limitations of ioctl, /proc, and system calls, and details its architecture, data structures, API usage, and real‑world applications.

Netlink is a Linux‑specific inter‑process communication mechanism that provides asynchronous, full‑duplex, and multicast communication between user space and kernel space, offering advantages over traditional IPC methods and serving a wide range of networking, monitoring, and system‑management scenarios.

This article explains the Linux Netlink mechanism, its protocol families, advantages over ioctl and /proc, detailed user‑space socket usage, and the kernel‑side APIs required to create, send, receive, and manage Netlink messages, including code examples.

This article examines three Linux user‑kernel communication methods—ioctl, proc, and Netlink—by describing their principles, presenting experimental setups and code, measuring nanosecond‑level call latency, and offering guidance on selecting the most suitable mechanism for a project.

This article explains how the Linux netlink connector, together with a lightweight user‑space ncp program, can audit all process events in real time, enabling detailed host security monitoring, detection of intrusion behaviors such as reverse shells, and reconstruction of attack chains through captured exec, fork, and exit data.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.