All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 2/34]: patch for the usermanage module
@ 2011-02-16  6:00 Guido Trentalancia
  2011-02-16 20:43 ` Sven Vermeulen
  0 siblings, 1 reply; 5+ messages in thread
From: Guido Trentalancia @ 2011-02-16  6:00 UTC (permalink / raw)
  To: refpolicy

This patch adds some needed permissions for passwd_t in
policy/modules/admin/usermanage.te.

--- refpolicy-git-15022011/policy/modules/admin/usermanage.te	2011-01-08 19:07:21.173730458 +0100
+++ refpolicy-git-15022011-new-modified/policy/modules/admin/usermanage.te	2011-02-15 22:46:11.980230160 +0100
@@ -273,6 +273,7 @@ allow passwd_t self:msg { send receive }
 allow passwd_t crack_db_t:dir list_dir_perms;
 read_files_pattern(passwd_t, crack_db_t, crack_db_t)
 
+kernel_read_crypto_sysctls(passwd_t)
 kernel_read_kernel_sysctls(passwd_t)
 
 # for SSP
@@ -291,8 +292,7 @@ selinux_compute_create_context(passwd_t)
 selinux_compute_relabel_context(passwd_t)
 selinux_compute_user_contexts(passwd_t)
 
-term_use_all_ttys(passwd_t)
-term_use_all_ptys(passwd_t)
+term_use_all_terms(passwd_t)
 
 auth_domtrans_chk_passwd(passwd_t)
 auth_manage_shadow(passwd_t)
@@ -302,6 +302,7 @@ auth_use_nsswitch(passwd_t)
 
 # allow checking if a shell is executable
 corecmd_check_exec_shell(passwd_t)
+corecmd_exec_bin(passwd_t)
 
 domain_use_interactive_fds(passwd_t)
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-16 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16  6:00 [refpolicy] [PATCH 2/34]: patch for the usermanage module Guido Trentalancia
2011-02-16 20:43 ` Sven Vermeulen
2011-02-16 20:55   ` Daniel J Walsh
2011-02-16 22:20     ` Guido Trentalancia
2011-02-16 20:55   ` Dominick Grift

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.