Skip to content
Snippets Groups Projects
Commit a473e29d authored by Stephen Smalley's avatar Stephen Smalley
Browse files

write_klog also requires write permission to the directory.

parent 79e084fc
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ allow $1 kernel:system syslog_read;
define(`write_klog', `
type_transition $1 device:chr_file klog_device "__kmsg__";
allow $1 klog_device:chr_file { create open write unlink };
allow $1 device:dir { add_name remove_name };
allow $1 device:dir { write add_name remove_name };
')
#####################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment