xguest: restrict ability to execute files on noxattr filesystems
PATCH 1/1 xguest: restrict ability to execute files on noxattr filesystems
The xguest user should only be able to execute files on filesystems without extended attributes if the relevant user_exec_noexattrfile boolean is enabled.
Signed-off-by Guido Trentalancia <[email protected]>
--- policy/modules/contrib/xguest.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
policy/modules/contrib/xguest.te +3 -1
@@ -41,7 +41,9 @@ userdom_restricted_xwindows_user_templat kernel_dontaudit_request_load_module(xguest_t) ifndef(`enable_mls',` - fs_exec_noxattr(xguest_t) + tunable_policy(`user_exec_noexattrfile',` + fs_exec_noxattr(xguest_t) + ') tunable_policy(`user_rw_noexattrfile',` fs_manage_noxattr_fs_files(xguest_t)