/usr/share/selinux/ubuntu/include/system/setrans.if is in selinux-policy-ubuntu-dev 0.2.20091117-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## <summary>SELinux MLS/MCS label translation service.</summary>
#######################################
## <summary>
## Allow a domain to translate contexts.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`setrans_translate_context',`
gen_require(`
type setrans_t, setrans_var_run_t;
class context translate;
')
allow $1 self:unix_stream_socket create_stream_socket_perms;
allow $1 setrans_t:context translate;
stream_connect_pattern($1, setrans_var_run_t, setrans_var_run_t, setrans_t)
files_list_pids($1)
')
|