Skip to contentSkip to conversation

xserver: do not audit ioctl operations on log files

PATCH New Guido Trentalancia 2 participants 2 messages Sep 16, 2017 – Sep 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 xserver: do not audit ioctl operations on log files

Do not audit ioctl operation attempts whenever write operations on the xserver log should not be audited.

---
 policy/modules/services/xserver.if |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policy/modules/services/xserver.if +1 -1
@@ -1129,7 +1129,7 @@ interface(`xserver_dontaudit_write_log',
 		type xserver_log_t;
 	')
 
-	dontaudit $1 xserver_log_t:file { append write };
+	dontaudit $1 xserver_log_t:file { append ioctl write };
 ')
 
 ########################################
#1 lore raw

PATCH 6/6 xserver: do not audit ioctl operations on log files

Quoted 11 lines · Guido Trentalancia via refpolicy

Do not audit ioctl operation attempts whenever write operations on the xserver log should not be audited.

---
  policy/modules/services/xserver.if |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

policy/modules/services/xserver.if interface(`xserver_dontaudit_write_log', · line 1135

Quoted 8 lines
policy/modules/services/xserver.if +1 -1
@@ -1129,7 +1129,7 @@ interface(`xserver_dontaudit_write_log',
  		type xserver_log_t;
  	')
 
-	dontaudit $1 xserver_log_t:file { append write };
+	dontaudit $1 xserver_log_t:file { append ioctl write };
  ')
 
  ########################################

Merged.

Signature · 1 line
Chris PeBenito