new modules

This commit is contained in:
2026-02-03 00:12:12 +01:00
parent b60031f4bc
commit aaf842a415
3 changed files with 36 additions and 0 deletions

10
NetworkManager.te Normal file
View File

@@ -0,0 +1,10 @@
module NetworkManager 1.0;
require {
type lib_t;
type NetworkManager_t;
class file execute_no_trans;
}
#============= NetworkManager_t ==============
allow NetworkManager_t lib_t:file execute_no_trans;

10
Xorg.te Normal file
View File

@@ -0,0 +1,10 @@
module Xorg 1.0;
require {
type xserver_t;
class process execmem;
}
#============= xserver_t ==============
# Note: you can also use one of the following boolean: allow_execmem, allow_execstack
allow xserver_t self:process execmem;

16
sddm.te Normal file
View File

@@ -0,0 +1,16 @@
module sddm 1.0;
require {
type xdm_t;
type usr_t;
type unconfined_t;
class process execmem;
class file entrypoint;
}
#============= unconfined_t ==============
allow unconfined_t usr_t:file entrypoint;
#============= xdm_t ==============
# Note: you can also use one of the following boolean: allow_execmem, allow_execstack, xserver_gnome_xdm
allow xdm_t self:process execmem;