We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89235da commit 00ee9cfCopy full SHA for 00ee9cf
apache.if
@@ -485,6 +485,25 @@ interface(`apache_sigchld',`
485
allow $1 httpd_t:process sigchld;
486
')
487
488
+########################################
489
+## <summary>
490
+## Allow the domain to read apache state files in /proc.
491
+## </summary>
492
+## <param name="domain">
493
494
+## Domain allowed access.
495
496
+## </param>
497
+#
498
+interface(`apache_read_state',`
499
+ gen_require(`
500
+ type httpd_t;
501
+ ')
502
+
503
+ kernel_search_proc($1)
504
+ ps_process_pattern($1, httpd_t)
505
+')
506
507
########################################
508
## <summary>
509
## Inherit and use file descriptors from Apache.
0 commit comments