+##
## Allow unconfined executables to make their heap memory executable. Doing this is a really bad idea. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla
##
##
diff -ru /home/rjc/src/pol-git/policy/modules/system/init.if /tmp/pol-git/policy/modules/system/init.if
--- /home/rjc/src/pol-git/policy/modules/system/init.if 2017-02-09 12:14:04.820887209 +1100
+++ /tmp/pol-git/policy/modules/system/init.if 2017-02-12 18:13:03.584953597 +1100
@@ -1504,7 +1504,9 @@
type init_t;
')
- allow $1 init_t:process ptrace;
+ tunable_policy(`deny_ptrace',`',`
+ allow $1 init_t:process ptrace;
+ ')
')
########################################