genpolicy: remove default UID/GID values

Remove the recently added default UID/GID values, because the genpolicy
design is to initialize those fields before this new code path gets
executed.

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai 2024-09-11 02:56:06 +00:00
parent 871476c3cb
commit d2d8d2e519

View File

@ -180,10 +180,6 @@ impl Container {
debug!("Getting process field from docker config layer...");
let docker_config = &self.config_layer.config;
// Defaults to start with if we can't work out the correct values.
process.User.UID = 0;
process.User.GID = 0;
/*
* The user field may:
*