mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
The current uid_map heuristic treats a private user namespace with an identity uid_map as the initial user namespace. systemd 260 can create that shape with PrivateUsers=full, causing callers to believe they can perform initial-namespace-only operations. Use /proc/self/ns/user's inode instead and compare it with the kernel's PROC_USER_INIT_INO value. This detects the initial user namespace directly instead of inferring it from the uid_map layout. Related: https://github.com/containers/crun/issues/2150 Signed-off-by: Alvaro Leiva Geisse <aleivag@gmail.com> |
||
|---|---|---|
| .. | ||
| acl.go | ||
| cgo.go | ||
| discard.go | ||
| error.go | ||
| filesystem.go | ||
| ioctls.go | ||
| kernel.go | ||
| memfd.go | ||
| memory.go | ||
| netlink.go | ||
| poll.go | ||
| pty.go | ||
| socket_linux_cgo.go | ||
| socket_linux_notcgo.go | ||
| socket.go | ||
| storage.go | ||
| systemd.go | ||
| ucred.go | ||
| userns.go | ||