Rename allow_console tunable to console_login.
This commit is contained in:
parent
fc1ef4ac3b
commit
dedbfa4f97
|
@ -4,13 +4,6 @@
|
|||
# file should be used.
|
||||
#
|
||||
|
||||
## <desc>
|
||||
## <p>
|
||||
## Allow logging in and using the system from /dev/console.
|
||||
## </p>
|
||||
## </desc>
|
||||
gen_tunable(allow_console,true)
|
||||
|
||||
## <desc>
|
||||
## <p>
|
||||
## Allow unconfined executables to make their heap memory executable. Doing this is a really bad idea. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla
|
||||
|
@ -53,6 +46,13 @@ gen_tunable(allow_polyinstantiation,false)
|
|||
## </desc>
|
||||
gen_tunable(allow_ypbind,false)
|
||||
|
||||
## <desc>
|
||||
## <p>
|
||||
## Allow logging in and using the system from /dev/console.
|
||||
## </p>
|
||||
## </desc>
|
||||
gen_tunable(console_login,true)
|
||||
|
||||
## <desc>
|
||||
## <p>
|
||||
## Enable reading of urandom for all domains.
|
||||
|
|
|
@ -124,7 +124,7 @@ interface(`term_user_tty',`
|
|||
type_change $1 ttynode:chr_file $2;
|
||||
')
|
||||
|
||||
tunable_policy(`allow_console',`
|
||||
tunable_policy(`console_login',`
|
||||
# When user logs in from /dev/console, relabel it
|
||||
# to user tty type as well.
|
||||
type_change $1 console_device_t:chr_file $2;
|
||||
|
|
|
@ -113,7 +113,7 @@ ifdef(`distro_ubuntu',`
|
|||
')
|
||||
')
|
||||
|
||||
tunable_policy(`allow_console',`
|
||||
tunable_policy(`console_login',`
|
||||
# Support logging in from /dev/console
|
||||
term_use_console(getty_t)
|
||||
',`
|
||||
|
|
|
@ -141,7 +141,7 @@ ifdef(`distro_ubuntu',`
|
|||
')
|
||||
')
|
||||
|
||||
tunable_policy(`allow_console',`
|
||||
tunable_policy(`console_login',`
|
||||
# Able to relabel /dev/console to user tty types.
|
||||
term_relabel_console(local_login_t)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue