policy seunshare: seunshare_role: parameters usage partially mixed

Documentation states 1st parameter is role and 2nd is domain.

So role clause should get role parameter
and seunshare_domtrans gets domain.

Signed-off-by: Markus Linnala <Markus.Linnala@cybercom.com>
This commit is contained in:
Markus Linnala 2021-06-30 11:31:57 +03:00
parent 8dfa9e4fce
commit af1ec6b172

View File

@ -71,9 +71,9 @@ interface(`seunshare_role',`
type seunshare_t;
')
role $2 types seunshare_t;
role $1 types seunshare_t;
seunshare_domtrans($1)
seunshare_domtrans($2)
ps_process_pattern($2, seunshare_t)
allow $2 seunshare_t:process signal;