Layer: kernel

Module: terminal

Description:

Policy for terminals.

Interfaces:

term_create_pty( domain , pty_type )
Description:

Create a pty in the /dev/pts directory.


Parameters:
Parameter:Description:Optional:
domain The type of the process creating the pty. No
pty_type The type of the pty. No
term_dontaudit_getattr_all_user_ttys( domain )
Description:

Do not audit attempts to get the attributes of any user tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_dontaudit_list_ptys( domain )
Description:

Do not audit attempts to read the /dev/pts directory to.


Parameters:
Parameter:Description:Optional:
domain The type of the process to not audit. No
term_dontaudit_use_all_user_ptys( domain )
Description:

Do not audit attempts to read any user ptys.


Parameters:
Parameter:Description:Optional:
domain The type of the process to not audit. No
term_dontaudit_use_all_user_ttys( domain )
Description:

Do not audit attempts to read or write any user ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_dontaudit_use_console( domain )
Description:

Do not audit attemtps to read from or write to the console.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_dontaudit_use_generic_pty( domain )
Description:

Dot not audit attempts to read and write the generic pty type. This is generally only used in the targeted policy.


Parameters:
Parameter:Description:Optional:
domain The type of the process to not audit. No
term_dontaudit_use_ptmx( domain )
Description:

Do not audit attempts to read and write the pty multiplexor (/dev/ptmx).


Parameters:
Parameter:Description:Optional:
domain The type of the process to not audit. No
term_dontaudit_use_unallocated_tty( domain )
Description:

Do not audit attempts to read or write unallocated ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process to not audit. No
term_getattr_all_user_ptys( domain )
Description:

Get the attributes of all user pty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_getattr_all_user_ttys( domain )
Description:

Get the attributes of all user tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_getattr_unallocated_ttys( domain )
Description:

Get the attributes of all unallocated tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_list_ptys( domain )
Description:

Read the /dev/pts directory to list all ptys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_pty( pty_type )
Description:

Transform specified type into a pty type.


Parameters:
Parameter:Description:Optional:
pty_type An object type that will applied to a pty. No
term_relabel_all_user_ttys( domain )
Description:

Relabel from and to all user user tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_relabel_unallocated_ttys( domain )
Description:

Relabel from and to the unallocated tty type.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_reset_tty_labels( domain )
Description:

Relabel from all user tty types to the unallocated tty type.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_setattr_all_user_ttys( domain )
Description:

Set the attributes of all user tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_setattr_console( domain )
Description:

Set the attributes of the console device node.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_setattr_unallocated_ttys( domain )
Description:

Set the attributes of all unallocated tty device nodes.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_tty( tty_type )
Description:

Transform specified type into a tty type.


Parameters:
Parameter:Description:Optional:
tty_type An object type that will applied to a tty. No
term_use_all_terms( domain )
Description:

Read and write the console, all ttys and all ptys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_all_user_ptys( domain )
Description:

Read and write all user ptys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_all_user_ttys( domain )
Description:

Read and write all user to all user ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_console( domain )
Description:

Read from and write to the console.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_controlling_term( domain )
Description:

Read and write the controlling terminal (/dev/tty).


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_generic_pty( domain )
Description:

Read and write the generic pty type. This is generally only used in the targeted policy.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_use_unallocated_tty( domain )
Description:

Read and write unallocated ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_user_pty( userdomain , object_type )
Description:

Transform specified type into an user pty type. This allows it to be relabeled via type change by login programs such as ssh.


Parameters:
Parameter:Description:Optional:
userdomain The type of the user domain associated with this pty. No
object_type An object type that will applied to a pty. No
term_write_all_user_ttys( domain )
Description:

Write to all user ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_write_console( domain )
Description:

Write to the console.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No
term_write_unallocated_ttys( domain )
Description:

Write to unallocated ttys.


Parameters:
Parameter:Description:Optional:
domain The type of the process performing this action. No