mirror of https://github.com/containers/podman.git
remote: do not join user NS
As noticed while debugging #13992, do not join the rootless user NS as a Linux remote client. [NO NEW TESTS NEEDED] as existing tests should continue to work. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
ace6672bf1
commit
c090931da4
|
|
@ -30,7 +30,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo remoteclient CFLAGS: -Wall -Werror -DDISABLE_JOIN_SHORTCUT
|
#cgo remote CFLAGS: -Wall -Werror -DDISABLE_JOIN_SHORTCUT
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
extern uid_t rootless_uid();
|
extern uid_t rootless_uid();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue