Skip to content

Commit 7b3b76c

Browse files
wrabcakljavorsk
authored andcommitted
Add interface mysql_dontaudit_rw_db()
1 parent ddc2a6b commit 7b3b76c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

mysql.if

+19
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,25 @@ interface(`mysql_dontaudit_write_log',`
429429
dontaudit $1 mysqld_log_t:file { write_file_perms setattr_file_perms };
430430
')
431431

432+
########################################
433+
## <summary>
434+
## dontaudit attempts to read/write to the MySQL db files.
435+
## </summary>
436+
## <param name="domain">
437+
## <summary>
438+
## Domain to not audit.
439+
## </summary>
440+
## </param>
441+
## <rolecap/>
442+
#
443+
interface(`mysql_dontaudit_rw_db',`
444+
gen_require(`
445+
type mysqld_db_t;
446+
')
447+
448+
dontaudit $1 mysqld_db_t:file rw_file_perms;
449+
')
450+
432451
######################################
433452
## <summary>
434453
## Execute MySQL safe script in the mysql safe domain.

0 commit comments

Comments
 (0)