Files
systemd/src/basic
Lennart Poettering 783b40bd73 namespace-util: introduce userns_acquire_self_root()
This is a simple helper for creating a userns that just maps the
callers user to UID 0 in the namespace. This can be acquired unpriv,
which makes it useful for various purposes, for example for the logic in
is_idmapping_supported(), hence port it over.

(is_idmapping_supported() used a different mapping before, with the
nobody users, but there's no real reason for that, and we'll use
userns_acquire_self_root() elsewhere soon, where the root mapping is
important).
2025-03-17 16:03:18 +01:00
..
2025-03-04 23:02:39 +01:00
2024-10-02 22:15:41 +01:00
2025-03-16 18:02:08 +01:00
2025-03-16 18:02:08 +01:00
2025-03-01 00:33:32 +09:00
2024-06-28 18:55:31 +02:00
2025-03-03 10:47:09 +01:00
2024-10-31 23:08:11 +01:00
2024-10-31 23:08:11 +01:00
2024-10-22 17:51:26 +02:00
2024-10-22 17:51:26 +02:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2025-02-28 14:18:07 +01:00
2025-02-10 00:43:53 +09:00
2025-03-01 00:33:32 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-10 11:15:48 +09:00
2024-12-13 15:36:45 +00:00
2025-02-21 16:12:59 +01:00