diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-03-31 15:22:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-04-01 11:21:44 +0200 |
commit | 9cce7fb193e5b12dee091ff7023669ef9034c1c0 (patch) | |
tree | 67bf963e73944e5c3ead62ed48424ad9b80ca5c5 /.editorconfig | |
parent | 49888d31b6ccb3c16e9564049290f1d21df15abf (diff) | |
download | systemd-9cce7fb193e5b12dee091ff7023669ef9034c1c0.tar.gz |
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.
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions