]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
pid1: add taint flag if uid/gid userns range too small
authorLennart Poettering <lennart@poettering.net>
Thu, 31 Mar 2022 12:37:29 +0000 (14:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Apr 2022 09:21:44 +0000 (11:21 +0200)
commit63e8df046b40cdf7196462f41de4bca54882f7b2
tree0ebc6de4ff1ea82b04466b932a24edbdffdc64f0
parent556560495ef695d7495e3bb930e8ce9f3964b99e
pid1: add taint flag if uid/gid userns range too small

This will taint systemd if invoked in containers that do not have the
full 16bit range of UIDs defined.

we pretty much need uid root…nobody to be defined for a variety of
purposes, hence let's add this taint flag. Of course taints are
graceful, but it at least communicates the mess in some way...
src/core/manager.c