summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-04-26 15:04:31 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-04-26 15:05:20 +0200
commitc090931da4bab192959383005a2221538a07061b (patch)
treec26503d65feeaf3aabd391782b47334f2c49003f
parentace6672bf1a9b011a3c414783496668b5f27f3eb (diff)
downloadpodman-c090931da4bab192959383005a2221538a07061b.tar.gz
podman-c090931da4bab192959383005a2221538a07061b.tar.bz2
podman-c090931da4bab192959383005a2221538a07061b.zip
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>
-rw-r--r--pkg/rootless/rootless_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go
index e4d89294e..5af9a978b 100644
--- a/pkg/rootless/rootless_linux.go
+++ b/pkg/rootless/rootless_linux.go
@@ -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 <sys/types.h>
extern uid_t rootless_uid();