2017-04-29 18:17:21

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH 2/7] java: error messages terminal printout

Minor fixes for the java module (print error messages to the terminal).

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/java.te | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--- a/policy/modules/contrib/java.te 2017-04-20 01:04:05.186437183 +0200
+++ b/policy/modules/contrib/java.te 2017-04-21 23:31:01.820601526 +0200
@@ -134,10 +149,12 @@ auth_use_nsswitch(java_t)

corecmd_search_bin(java_t)

+dev_read_sysfs(java_t)
+
locallogin_use_fds(java_t)

userdom_read_user_tmp_files(java_t)
-userdom_use_user_ttys(java_t)
+userdom_use_user_terminals(java_t)

optional_policy(`
xserver_user_x_domain_template(java, java_t, java_tmpfs_t)