open-menu closeme
Engineering
github linkedin rss
  • SELinux Concepts

    calendar Jun 15, 2025 · 5 min read · Linux SELinux  ·
    Share on: twitter copy

    Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) system that enhances Linux security. "Mandatory" means access control is strictly enforced by predefined policy rules—users and processes cannot modify these rules at will, ensuring security is not left to individual discretion. SELinux is …


    Read More
  • x509: certificate signed by unknown authority? Maybe the cert pool is empty

    calendar Apr 15, 2025 · 6 min read · Linux Container SELinux Bottlerocket  ·
    Share on: twitter copy

    I recently worked on getting amazon-ssm-agent to run inside containers on Bottlerocket. During that process, I ran into a TLS issue connecting to amazonaws.com. The root cause turned out be interesting and we'll walk through it in this post. Running amazon-ssm-agent in a container: why and how? To enable sessions …


    Read More

Peng Zhang

Software Engineer

Recent Posts

  • Debugging zero disk reads after moving to Bottlerocket
  • When sync.Cond is a better primitive than channels: lessons from Go's HTTP/2 client
  • Mysterious boot hang on Graviton: mitigated but never root-caused
  • What is an ABI? Break one to find out
  • Counting systemd service restarts: NRestarts and the D-Bus API behind it
  • Apply sysctl before systemd: a lesson from reserving ephemeral ports too late
  • Don't hardcode fsync in your library
  • When enforcing OCI image spec broke customer containers

Tags

LINUX 26 GO 22 BOTTLEROCKET 10 ALGORITHMS 8 INTERVIEW 7 CONTAINER 6 CONCURRENCY 4 SYSTEMD 4 GUIDE 3 AWS 2 CONTAINERS 2 DISTRIBUTED SYSTEM 2 SELINUX 2 WEB 2
All Tags
ALGORITHMS8 AWS2 BOTTLEROCKET10 CONCURRENCY4 CONTAINER6 CONTAINERS2 CRYPTOGRAPHY1 DATABASES1 DISTRIBUTED SYSTEM2 DNS1 DOCKER1 EC21 GO22 GUIDE3 INTERVIEW7 LINUX26 NETWORK1 SELINUX2 SHELL1 SYSTEMD4 TESTING1 WEB2
[A~Z][0~9]
Peng Zhang

Copyright 2022-  PENG ZHANG. All Rights Reserved

to-top