Files
podman/pkg/rootless/rootless.go
Giuseppe Scrivano f31ba2929b rootless: support a custom arg to the new process
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>
2019-03-11 11:48:25 +01:00

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
}