Skip to content
Snippets Groups Projects
Commit 79289183 authored by Simon McVittie's avatar Simon McVittie
Browse files

session-lockdown-no-deny: check for more processes


Reviewed-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3772
parent 0905a4c2
No related branches found
No related tags found
No related merge requests found
...@@ -227,6 +227,9 @@ def after_reboot(): ...@@ -227,6 +227,9 @@ def after_reboot():
# if they aren't running it's a problem (either because we started # if they aren't running it's a problem (either because we started
# them explicitly or they are meant to run on boot) # them explicitly or they are meant to run on boot)
for profile in ( for profile in (
'/usr/Applications/org.apertis.Frampton/bin/frampton-agent',
'/usr/Applications/org.apertis.Mildenhall.Launcher/bin/mildenhall_launcher',
'/usr/Applications/org.apertis.Mildenhall.StatusBar/bin/mildenhall_statusbar',
'/usr/sbin/connmand', '/usr/sbin/connmand',
): ):
if profile in complain_process_profiles: if profile in complain_process_profiles:
...@@ -249,6 +252,7 @@ def after_reboot(): ...@@ -249,6 +252,7 @@ def after_reboot():
# Processes that are currently meant to be in complain mode, and # Processes that are currently meant to be in complain mode, and
# if they aren't running it's a problem # if they aren't running it's a problem
for profile in ( for profile in (
'/usr/bin/canterbury',
'/usr/bin/pulseaudio', '/usr/bin/pulseaudio',
'/usr/sbin/ofonod', '/usr/sbin/ofonod',
): ):
...@@ -260,7 +264,12 @@ def after_reboot(): ...@@ -260,7 +264,12 @@ def after_reboot():
# Processes that are currently meant to be in enforce mode, and # Processes that are currently meant to be in enforce mode, and
# might not be running at all # might not be running at all
for profile in ( for profile in (
'/usr/bin/newport',
'/usr/lib/*/tumbler-1/tumblerd',
'/usr/lib/tracker/tracker-extract',
'/usr/lib/tracker/tracker-miner-apps',
'/usr/lib/tracker/tracker-miner-fs', '/usr/lib/tracker/tracker-miner-fs',
'/usr/lib/tracker/tracker-miner-user-guides',
'/usr/lib/tracker/tracker-store', '/usr/lib/tracker/tracker-store',
): ):
if profile not in profiles_running: if profile not in profiles_running:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment