mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-08 08:50:15 +08:00
libct: rm Rootless* properties from initConfig
They are passed in initConfig twice, so it does not make sense. NB: the alternative to that would be to remove Config field from initConfig, but it results in a much bigger patch and more maintenance down the road. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -704,8 +704,6 @@ func (c *Container) newInitConfig(process *Process) *initConfig {
|
||||
PassedFilesCount: len(process.ExtraFiles),
|
||||
ContainerID: c.ID(),
|
||||
NoNewPrivileges: c.config.NoNewPrivileges,
|
||||
RootlessEUID: c.config.RootlessEUID,
|
||||
RootlessCgroups: c.config.RootlessCgroups,
|
||||
AppArmorProfile: c.config.AppArmorProfile,
|
||||
ProcessLabel: c.config.ProcessLabel,
|
||||
Rlimits: c.config.Rlimits,
|
||||
|
Reference in New Issue
Block a user