Skip to content

Commit

Permalink
Clean up and sync securetty_types
Browse files Browse the repository at this point in the history
Remove types that are just aliases of user_tty_device_t and add
console_device_t also to config/appconfig-standard/securetty_types.

Also note that secureadm_tty_device_t was a misspelling of
secadm_tty_device_t - such type doesn't exist in the policy at all.

Signed-off-by: Ondrej Mosnacek <[email protected]>
  • Loading branch information
WOnder93 authored and bachradsusi committed Sep 6, 2024
1 parent 71f9a91 commit 34d19b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions config/appconfig-mcs/securetty_types
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
console_device_t
sysadm_tty_device_t
user_tty_device_t
staff_tty_device_t
4 changes: 0 additions & 4 deletions config/appconfig-mls/securetty_types
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
console_device_t
sysadm_tty_device_t
user_tty_device_t
staff_tty_device_t
auditadm_tty_device_t
secureadm_tty_device_t
1 change: 1 addition & 0 deletions config/appconfig-standard/securetty_types
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
console_device_t
user_tty_device_t

0 comments on commit 34d19b8

Please sign in to comment.