mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 03:56:34 +00:00
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:
parent
871476c3cb
commit
d2d8d2e519
@ -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:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user