Current File : //proc/thread-self/root/kunden/usr/share/systemtap/examples/security-band-aids/cve-2021-4034.stp
// CVE-2021-4034 - polkit privilege escalation

// Approach: intercept the main function, abort with empty argv

probe process("/usr/bin/pkexec").function("main") {
  if (cmdline_arg(1) == "")
    raise(9);
}