Debian Codegraph @

testsuite/systemtap.examples/security-band-aids/cve-2021-4034.stp

raw
1 // CVE-2021-4034 - polkit privilege escalation
2
3 // Approach: intercept the main function, abort with empty argv
4
5 probe process("/usr/bin/pkexec").function("main") {
6 if (cmdline_arg(1) == "")
7 raise(9);
8 }