The-Z-Labs / linux-exploit-suggester

Linux privilege escalation auditing tool
GNU General Public License v3.0
5.54k stars 1.09k forks source link

fix seccomp check #96

Closed vanhauser-thc closed 2 years ago

vanhauser-thc commented 2 years ago

fixes a bug when checking seccomp:

grep -i Seccomp /proc/self/status
Seccomp:    0
Seccomp_filters:    0

which results in "0\n0" hence -eq 0 comparison fails and seccomp is not checked correctly.

also fixed formatting.

mzet- commented 2 years ago

Great, thanks!