[KongchangAI]
ConceptControl Groups / 控制组

cgroup

A Linux kernel mechanism for process resource isolation and management that groups a set of processes into a single control group, enabling limits on CPU, memory, and other resources, as well as bulk signal delivery to processes. It is a foundational component of container technology.

Core Facts

Timeline (last 90 days)

Oct 27

Kernel-level restrictions typically use mechanisms such as seccomp, Landlock, and cgroup to intercept system calls by whitelist or rules when they enter the kernel, making them harder to bypass than application-layer hooks.

Unverified50%
Oct 23

Namespaces govern "what you can see" (PID, mount, network, user and other isolation), while cgroups govern "how much you use" (metering and limiting CPU, memory, IO and other resources).

Unverified50%
Oct 23

systemd-nspawn is a container management tool shipped with the systemd project that uses Linux namespaces and control groups (cgroups) to isolate processes, filesystems, networking and other dimensions while sharing the kernel with the host.

Unverified50%
Oct 23

Containers rely on namespaces and cgroups for logical isolation and still share the host kernel; once a privilege escalation vulnerability appears in the kernel, an attacker may cross container boundaries.

Unverified50%
Oct 17

Before running Strata on a rented container, you should check the CPU quota via cat /sys/fs/cgroup/cpu.max and set --pool-workers to a value slightly below the allowed core count

Unverified50%
Oct 12

Operating-system-level sandboxes on Linux use seccomp to filter system calls, combined with namespaces to isolate mount and network views, and then cgroups to limit resources.

Unverified50%
Oct 5

Cgroups can precisely limit and account for resources such as CPU, memory, and disk I/O for a group of processes.

Unverified50%
Sep 30

The cgroup approach provides the most thorough cleanup on Linux, but macOS support is limited; the process group approach has better cross-platform compatibility but is powerless against escaped processes that have already detached from the process group.

Unverified50%
Sep 30

Linux's cgroup mechanism can place a group of processes under the same control group and send termination signals to all processes in the group at once, which is equally effective for multi-level subprocess spawning.

Unverified50%
Sep 13

The methodology for reverse-engineering sandboxes includes environment probing (reading system information, process lists, kernel versions, and cgroup configurations).

Unverified50%

2 more timeline events

All Facts (14)

Verified

容器技术(以Docker为代表)利用Linux内核的namespace机制实现进程、网络、文件系统隔离,借助cgroups限制CPU、内存等资源用量

80%
Verified

Docker基于Linux内核的cgroups(资源限制)和namespace(进程隔离)机制实现容器化

80%
Unverified

Kernel-level restrictions typically use mechanisms such as seccomp, Landlock, and cgroup to intercept system calls by whitelist or rules when they enter the kernel, making them harder to bypass than application-layer hooks.

50%
Unverified

Namespaces govern "what you can see" (PID, mount, network, user and other isolation), while cgroups govern "how much you use" (metering and limiting CPU, memory, IO and other resources).

50%
Unverified

systemd-nspawn is a container management tool shipped with the systemd project that uses Linux namespaces and control groups (cgroups) to isolate processes, filesystems, networking and other dimensions while sharing the kernel with the host.

50%
Unverified

Containers rely on namespaces and cgroups for logical isolation and still share the host kernel; once a privilege escalation vulnerability appears in the kernel, an attacker may cross container boundaries.

50%
Unverified

Before running Strata on a rented container, you should check the CPU quota via cat /sys/fs/cgroup/cpu.max and set --pool-workers to a value slightly below the allowed core count

50%
Unverified

Operating-system-level sandboxes on Linux use seccomp to filter system calls, combined with namespaces to isolate mount and network views, and then cgroups to limit resources.

50%
Unverified

Cgroups can precisely limit and account for resources such as CPU, memory, and disk I/O for a group of processes.

50%
Unverified

Linux's cgroup mechanism can place a group of processes under the same control group and send termination signals to all processes in the group at once, which is equally effective for multi-level subprocess spawning.

50%
Unverified

The cgroup approach provides the most thorough cleanup on Linux, but macOS support is limited; the process group approach has better cross-platform compatibility but is powerless against escaped processes that have already detached from the process group.

50%
Unverified

The methodology for reverse-engineering sandboxes includes environment probing (reading system information, process lists, kernel versions, and cgroup configurations).

50%
Unverified

Containers (Docker/LXC) achieve isolation through namespaces + cgroups, share the host kernel, and incur extremely low performance overhead.

50%
Unverified

Linux的namespace提供PID、Network、Mount、UTS、IPC和User等多种隔离维度,cgroup负责资源限制和计量

50%

Source Articles