mirror of
https://github.com/containers/podman.git
synced 2026-02-20 07:57:41 -05:00
let the process running as euid != 0 pass down an argument to the process running in the user namespace. This will be useful for commands like rm -a that needs to join different namespaces, so that we can re-exec separately for each of them. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
10 lines
299 B
Go
10 lines
299 B
Go
package rootless
|
|
|
|
// Opts allows to customize how re-execing to a rootless process is done
|
|
type Opts struct {
|
|
// Argument overrides the arguments on the command line
|
|
// for the re-execed process. The process in the namespace
|
|
// must use rootless.Argument() to read its value.
|
|
Argument string
|
|
}
|