# Personal blog of Christian Brauner

Published articles for Personal blog of Christian Brauner.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Listing all mounts in all mount namespaces

DevFeed: [Listing all mounts in all mount namespaces](<https://devfeed.tech/articles/listing-all-mounts-in-all-mount-namespaces-33956.md>)

Original publisher: [Read original article](<https://brauner.io/2024/12/16/list-all-mounts.html>)

Author: Christian Brauner

Published: 2024-12-15T23:00:00Z

Content type: tutorial

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [mount](<https://devfeed.tech/topics/mount.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mount](<https://devfeed.tech/tags/mount.md>)

### AI overview

A technical explanation of Linux APIs and system calls for retrieving mount information, iterating through mounts and mount subtrees, and listing mounts in other mount namespaces. It also describes retrieving mount namespace IDs and iterating through mount namespaces.

### Source excerpt

Introduction

## Mounting into mount namespaces

DevFeed: [Mounting into mount namespaces](<https://devfeed.tech/articles/mounting-into-mount-namespaces-33955.md>)

Original publisher: [Read original article](<https://brauner.io/2023/02/28/mounting-into-mount-namespaces.html>)

Author: Christian Brauner

Published: 2023-02-27T23:00:00Z

Content type: article

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [mount](<https://devfeed.tech/topics/mount.md>), [kernels](<https://devfeed.tech/topics/kernels.md>), [file](<https://devfeed.tech/topics/file.md>), [coding](<https://devfeed.tech/topics/coding.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [mount](<https://devfeed.tech/tags/mount.md>)

### AI overview

This article examines how to insert new mounts into a running container's mount namespace. It discusses the complexity of mount operations, a legacy userspace path-verification approach, and a newer approach intended to prevent symlink attacks by verifying paths and opening their final components before mounting.

### Source excerpt

Introduction

## An excursion into a mount propagation bug

DevFeed: [An excursion into a mount propagation bug](<https://devfeed.tech/articles/an-excursion-into-a-mount-propagation-bug-33954.md>)

Original publisher: [Read original article](<https://brauner.io/2023/01/05/mount-propagation-bug.html>)

Author: Christian Brauner

Published: 2023-01-04T23:00:00Z

Content type: article

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [mount](<https://devfeed.tech/topics/mount.md>), [bug](<https://devfeed.tech/topics/bug.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [data](<https://devfeed.tech/tags/data.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [mount](<https://devfeed.tech/tags/mount.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

An article examines a difficult-to-reproduce mount propagation bug involving a network namespace persisted by bind-mounting it in a separate mount namespace. It describes how the bug was reproduced and clarifies the shared, peer, master, and slave mount concepts used to understand the relevant code.

### Source excerpt

Introduction

## Managing a kernel patch series with b4

DevFeed: [Managing a kernel patch series with b4](<https://devfeed.tech/articles/managing-a-kernel-patch-series-with-b4-33953.md>)

Original publisher: [Read original article](<https://brauner.io/2023/01/02/b4-managed-patch-series.html>)

Author: Christian Brauner

Published: 2023-01-01T23:00:00Z

Content type: tutorial

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [kernel](<https://devfeed.tech/tags/kernel.md>)

### AI overview

A live, first-person walkthrough of managing a Linux kernel patch series with b4. The author documents sending a tested patch, enrolling a branch, handling cover-letter commits, and inspecting the resulting patch.

### Source excerpt

This is a (live-[?])blog about managing a patch series solely with b4. It's "live" as I'm writing this down while fumbling my way through this adventure. No corrections other than grammer and spelling (but no guarantees for the correctness of either).

## Using the Seccomp Notifier to Intercept bpf() in Unprivileged Containers

DevFeed: [Using the Seccomp Notifier to Intercept bpf() in Unprivileged Containers](<https://devfeed.tech/articles/the-seccomp-notifier-cranking-up-the-crazy-with-bpf-33952.md>)

Original publisher: [Read original article](<https://brauner.io/2020/08/07/seccomp-notify-intercepting-the-bpf-syscall.html>)

Author: Christian Brauner

Published: 2020-08-06T22:00:00Z

Content type: tutorial

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [Containers](<https://devfeed.tech/topics/containers.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [containers](<https://devfeed.tech/tags/containers.md>), [demo](<https://devfeed.tech/tags/demo.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>)

### AI overview

This short sequel demonstrates how seccomp notifier features can intercept syscalls involving file descriptors. It shows LXD supervising syscalls in unprivileged containers so a nested unprivileged container can load its own device profile in the cgroup2 hierarchy.

### Source excerpt

In my last article I looked at the seccomp notifier in detail and how it allows us to make unprivileged containers way more capable (Sorry, kernel joke.). This is the (very) crazy (but very short) sequel. (Sorry Jon, no novella this time. :))

## The Seccomp Notifier - New Frontiers in Unprivileged Container Development

DevFeed: [The Seccomp Notifier - New Frontiers in Unprivileged Container Development](<https://devfeed.tech/articles/the-seccomp-notifier-new-frontiers-in-unprivileged-container-development-33951.md>)

Original publisher: [Read original article](<https://brauner.io/2020/07/23/seccomp-notify.html>)

Author: Christian Brauner

Published: 2020-07-22T22:00:00Z

Content type: article

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [containers](<https://devfeed.tech/tags/containers.md>), [development](<https://devfeed.tech/tags/development.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This article examines the Linux seccomp notify feature, its kernel and userspace development, and the new possibilities it enables for unprivileged containers. It also explains how Linux namespaces contribute to container isolation and why privilege checks can behave differently inside user namespaces.

### Source excerpt

Introduction

## Linux Kernel VFSisms

DevFeed: [Linux Kernel VFSisms](<https://devfeed.tech/articles/linux-kernel-vfsisms-33948.md>)

Original publisher: [Read original article](<https://brauner.io/2019/06/28/vfs-wisdom.html>)

Author: Christian Brauner

Published: 2019-06-27T22:00:00Z

Content type: tutorial

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [file](<https://devfeed.tech/topics/file.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [filesystem](<https://devfeed.tech/tags/filesystem.md>), [function](<https://devfeed.tech/tags/function.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>)

### AI overview

A collection of practical notes on Linux Kernel VFS internals, focusing on when to install or reserve file descriptors and how to initialize directory inodes safely. The author cautions that the material may contain errors and should not be relied on as authoritative guidance.

### Source excerpt

Introduction

## CVE-2019-5736 and the Security Meaning of Privileged Containers

DevFeed: [CVE-2019-5736 and the Security Meaning of Privileged Containers](<https://devfeed.tech/articles/runtimes-and-the-curse-of-the-privileged-container-33947.md>)

Original publisher: [Read original article](<https://brauner.io/2019/02/12/privileged-containers.html>)

Author: Christian Brauner

Published: 2019-02-11T23:00:00Z

Content type: article

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [container](<https://devfeed.tech/topics/container.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [vulnerability](<https://devfeed.tech/topics/vulnerability.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Security](<https://devfeed.tech/topics/security.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [containers](<https://devfeed.tech/tags/containers.md>), [cve](<https://devfeed.tech/tags/cve.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [lxc](<https://devfeed.tech/tags/lxc.md>), [runc](<https://devfeed.tech/tags/runc.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

The article examines CVE-2019-5736, a vulnerability that could let a malicious container overwrite the host runc binary and gain root-level code execution. It then develops a more precise definition of privileged containers based on whether ID 0 has the same semantics inside and outside the container.

### Source excerpt

Introduction (CVE-2019-5736)