From 319b307c59e5f019c1a4c51fc398eb768c448bd8 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 15 Sep 2022 15:17:53 +0100 Subject: [PATCH] enlightenment_system - harden - no sysactions.conf - deny all actions --- src/bin/e_sys_main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c index 08ef0503a..3758af1c7 100644 --- a/src/bin/e_sys_main.c +++ b/src/bin/e_sys_main.c @@ -598,10 +598,8 @@ auth_action_ok(char *a, */ ret = auth_etc_enlightenment_sysactions(a, usr, grp); if (ret == 1) return 1; - else if (ret == -1) - return 0; - /* the DEFAULT - allow */ - return 1; + else if (ret == -1) return 0; + return 0; // no sysactions.conf file found - just say no. bad system } static int