Adds host PID mode support for add-ons (#700)

*  Adds host PID mode support for add-ons.

* 🔒 Disables host PID mode when in protected mode

* 🚦 Adds more negative rating weight to host PID mode
This commit is contained in:
Franck Nijhof
2018-09-17 21:02:28 +02:00
committed by Pascal Vizeli
parent 061420f279
commit 622e99e04c
7 changed files with 24 additions and 3 deletions

View File

@@ -40,6 +40,10 @@ def rating_security(addon):
if addon.host_network:
rating += -1
# Insecure PID namespace
if addon.host_pid:
rating += -2
# Full Access
if addon.with_full_access:
rating += -2