This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch v-0.25.0
in repository enlightenment.

View the commit online.

commit 99e79be06208e3a30247ce2d432c913952728092
Author: Carsten Haitzler <[email protected]>
AuthorDate: Thu Sep 15 15:17:53 2022 +0100

    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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to