Skip to content

Commit 99e79be

Browse files
committed
enlightenment_system - harden - no sysactions.conf - deny all actions
1 parent e875305 commit 99e79be

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/bin/e_sys_main.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,8 @@ auth_action_ok(char *a,
598598
*/
599599
ret = auth_etc_enlightenment_sysactions(a, usr, grp);
600600
if (ret == 1) return 1;
601-
else if (ret == -1)
602-
return 0;
603-
/* the DEFAULT - allow */
604-
return 1;
601+
else if (ret == -1) return 0;
602+
return 0; // no sysactions.conf file found - just say no. bad system
605603
}
606604

607605
static int

0 commit comments

Comments
 (0)