diff options
author | Daniel Burgener <Daniel.Burgener@microsoft.com> | 2020-04-30 14:53:31 -0400 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2020-08-09 19:58:44 -0700 |
commit | 3d14a2148c9b688f8d6388f594bc69690c65d381 (patch) | |
tree | 62e0187d6baa9961863753876c4aa66b3421b9aa /policy/modules/system/systemd.te | |
parent | bird: fixes for bird 2.0 (diff) | |
download | hardened-refpolicy-3d14a2148c9b688f8d6388f594bc69690c65d381.tar.gz hardened-refpolicy-3d14a2148c9b688f8d6388f594bc69690c65d381.tar.bz2 hardened-refpolicy-3d14a2148c9b688f8d6388f594bc69690c65d381.zip |
Fix a few places where command line applications were only granted one of tty or pty permissions and could be used from either
Signed-off-by: Daniel Burgener <Daniel.Burgener@microsoft.com>
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'policy/modules/system/systemd.te')
-rw-r--r-- | policy/modules/system/systemd.te | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index d3e9ec42..a7b570f7 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -1046,8 +1046,7 @@ miscfiles_read_localization(systemd_passwd_agent_t) seutil_search_default_contexts(systemd_passwd_agent_t) -userdom_use_user_ttys(systemd_passwd_agent_t) -userdom_use_user_ptys(systemd_passwd_agent_t) +userdom_use_user_terminals(systemd_passwd_agent_t) optional_policy(` getty_use_fds(systemd_passwd_agent_t) |