kernel_terminal changes
Console is a legitimate login device on s390,
policy/modules/kernel/terminal.if +20 -1
@@ -278,6 +278,25 @@ ######################################## ## <summary> +## Relabel from and to the console_device_t +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`term_relabel_console',` + gen_require(` + type console_device_t; + ') + + dev_list_all_dev_nodes($1) + allow $1 console_device_t:chr_file { relabelfrom relabelto }; +') + +######################################## +## <summary> ## Create the console device (/dev/console). ## </summary> ## <param name="domain">
@@ -1052,7 +1071,7 @@ ') dev_list_all_dev_nodes($1) - allow $1 ttynode:chr_file { getattr write }; + allow $1 ttynode:chr_file { getattr write append }; ') ########################################
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 31 lines · On Wed, 2007-05-30 at 11:16 -0400, [email protected] wrote:
Console is a legitimate login device on s390,
policy/modules/kernel/terminal.if +19
-0@@ -278,6 +278,25 @@ ######################################## ## <summary> +## Relabel from and to the console_device_t +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`term_relabel_console',` + gen_require(` + type console_device_t; + ') + + dev_list_all_dev_nodes($1) + allow $1 console_device_t:chr_file { relabelfrom relabelto }; +') + +######################################## +## <summary> ## Create the console device (/dev/console). ## </summary> ## <param name="domain">
policy/modules/kernel/terminal.if line 1077
Quoted 8 lines
policy/modules/kernel/terminal.if +1
-1@@ -1052,7 +1071,7 @@ ') dev_list_all_dev_nodes($1) - allow $1 ttynode:chr_file { getattr write }; + allow $1 ttynode:chr_file { getattr write append }; ') ########################################
Merged.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.