1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00
systemd/src/userdb
Lennart Poettering 9cce7fb193 userdbctl: also show available UID range in current userns
Containers generally have a smaller UID range assigned than host
systems. Let's visualize this in the user/group tables. We insert
markers for unavailable regions. This way display is identical to status
quo ante on host systems, but in containers unavailable ranges will be
shown as that.

And while we are at it, also hide well-known UID ranges when they are
outside of userns uid_map range. This is mostly about the "container"
range. It's pointless showing the cotnainer range (i.e. a range UID >
65535) if that range isn#t available in the container anyway.
2022-04-01 11:21:44 +02:00
..
meson.build meson: move files' closing brace to separate line 2022-03-03 12:14:13 +01:00
userdbctl.c userdbctl: also show available UID range in current userns 2022-04-01 11:21:44 +02:00
userdbd-manager.c time-util: add macros around timespec_store() that operates on compund literal allocated timespec struct 2022-03-18 17:13:36 +01:00
userdbd-manager.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
userdbd.c tree-wide: mark set-but-not-used variables as unused to make LLVM happy 2021-09-15 13:09:45 +02:00
userwork.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00