Skip to content

Commit 9072441

Browse files
committed
we have to enable user namespaces and change setup in sysctl.conf
for CONFIG_USER_NS to work correctly. This is required for the chrome sandbox to work correctly when potentially using a Zoom-Client.
1 parent 01ee2bd commit 9072441

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

buildroot-external/kernel/6.12/global.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,3 +380,6 @@ CONFIG_ACPI_APEI_GHES=y
380380
# enable firmware compression
381381
CONFIG_FW_LOADER_COMPRESS=y
382382
CONFIG_FW_LOADER_COMPRESS_ZSTD=y
383+
384+
# enable USER_NS
385+
CONFIG_USER_NS=y

buildroot-external/rootfs-overlay/etc/sysctl.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ kernel.perf_event_paranoid = 3
1010
# Avoid non-ancestor ptrace access to running processes and their credentials.
1111
kernel.yama.ptrace_scope = 1
1212

13-
# Disable User Namespaces, as it opens up a large attack surface to unprivileged users.
14-
user.max_user_namespaces = 0
13+
# Enable User Namespaces for sanboxing applications like chrome, etc.
14+
user.max_user_namespaces = 15000
1515

1616
# increase netfilter conntrack maximum hash table size to 256K
1717
net.netfilter.nf_conntrack_buckets = 65536

0 commit comments

Comments
 (0)