initial commit
This commit is contained in:
parent
2d68932a8d
commit
43bc3906c5
2
refpolicy/policy/modules/services/remotelogin.fc
Normal file
2
refpolicy/policy/modules/services/remotelogin.fc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
# Remote login currently has no file contexts.
|
25
refpolicy/policy/modules/services/remotelogin.if
Normal file
25
refpolicy/policy/modules/services/remotelogin.if
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
## <module name="remotelogin" layer="services">
|
||||||
|
## <summary>Policy for rshd, rlogind, and telnetd.</summary>
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <interface name="remotelogin_domtrans">
|
||||||
|
## <description>
|
||||||
|
## Domain transition to the remote login domain.
|
||||||
|
## </description>
|
||||||
|
## <parameter name="domain">
|
||||||
|
## The type of the process performing this action.
|
||||||
|
## </parameter>
|
||||||
|
## <infoflow type="write" weight="10"/>
|
||||||
|
## </interface>
|
||||||
|
#
|
||||||
|
define(`remotelogin_domtrans',`
|
||||||
|
requires_block_template(`$0'_depend)
|
||||||
|
|
||||||
|
authlogin_login_program_transition($1,remote_login_t)
|
||||||
|
')
|
||||||
|
|
||||||
|
define(`remotelogin_domtrans_depend',`
|
||||||
|
type remote_login_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
## </module>
|
Loading…
Reference in New Issue
Block a user