wm: properly set domain entrypoint in wm_application_domain()
PATCH 1/1 wm: properly set domain entrypoint in wm_application_domain()
The newly introduced wm_application_domain() interface can under certain circumstances lack a domain entrypoint permission.
This patch updates the wm module so that when the wm has to launch an application that uses wm_application_domain(), it can find the entrypoint to the application's domain.
--- policy/modules/contrib/wm.if | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
policy/modules/contrib/wm.if +1 -3
@@ -216,8 +216,6 @@ interface(`wm_application_domain',` attribute wm_domain; ') - application_type($1) - ubac_constrained($1) - application_executable_file($2) + userdom_user_application_domain($1, $2) domtrans_pattern(wm_domain, $2, $1) ')
PATCH 1/1 wm: properly set domain entrypoint in wm_application_domain()
Quoted 15 lines · Guido Trentalancia via refpolicy
The newly introduced
wm_application_domain()interface can under certain circumstances lack a domain entrypoint permission.This patch updates the wm module so that when the wm has to launch an application that uses
wm_application_domain(), it can find the entrypoint to the application's domain.Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/wm.if | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
policy/modules/contrib/wm.if interface(`wm_application_domain',` · line 221
Quoted 9 lines
policy/modules/contrib/wm.if +1
-3@@ -216,8 +216,6 @@ interface(`wm_application_domain',` attribute wm_domain; ') - application_type($1) - ubac_constrained($1) - application_executable_file($2) + userdom_user_application_domain($1, $2) domtrans_pattern(wm_domain, $2, $1) ')
Merged.
Signature · 1 line
Chris PeBenito