fa2e861a6f
Closes: #12278 [via git-merge-pr]
12 lines
466 B
Diff
12 lines
466 B
Diff
diff --git pkg/rootless/rootless_linux.go pkg/rootless/rootless_linux.go
|
|
index 0cac50fc..3f78ffc6 100644
|
|
--- pkg/rootless/rootless_linux.go
|
|
+++ pkg/rootless/rootless_linux.go
|
|
@@ -24,6 +24,7 @@ import (
|
|
/*
|
|
#cgo remoteclient CFLAGS: -DDISABLE_JOIN_SHORTCUT
|
|
#include <stdlib.h>
|
|
+#include <sys/types.h>
|
|
extern uid_t rootless_uid();
|
|
extern uid_t rootless_gid();
|
|
extern int reexec_in_user_namespace(int ready, char *pause_pid_file_path, char *file_to_read, int fd);
|