DF-0016 / run.sh
#!/bin/sh # DF-0016 run: read kern.proc.pid.<pid> as an UNPRIVILEGED user and dump the # unredacted kernel pointers in kinfo_proc (kp_paddr / kp_fd / kl_wchan / kp_ktaddr) # for processes we do NOT own (root daemons). # Exits 0 if kernel pointers leaked, 2 if redacted. cd "$(dirname "$0")" ./leak_kinfo |