Merge lp:~intrigeri/apparmor/apache2-attach_disconnected into lp:apparmor/2.12

Proposed by intrigeri
Status: Merged
Merged at revision: 3729
Proposed branch: lp:~intrigeri/apparmor/apache2-attach_disconnected
Merge into: lp:apparmor/2.12
Diff against target: 30 lines (+3/-3)
1 file modified
profiles/apparmor.d/usr.sbin.apache2 (+3/-3)
To merge this branch: bzr merge lp:~intrigeri/apparmor/apache2-attach_disconnected
Reviewer Review Type Date Requested Status
Steve Beattie Approve
Review via email: mp+331065@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve Beattie (sbeattie) wrote :

I don't particularly care for how we've had to sprinkle attach_disconnected around in profiles recently, but given that I would hope anyone actually developing profiles for apache with mod_apparmor would roll their own, so I think it's okay for the "mostly works out of the box" example profile nature of the included apache profile.

Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'profiles/apparmor.d/usr.sbin.apache2'
--- profiles/apparmor.d/usr.sbin.apache2 2014-09-09 01:39:34 +0000
+++ profiles/apparmor.d/usr.sbin.apache2 2017-09-20 14:46:35 +0000
@@ -1,7 +1,7 @@
1# Author: Marc Deslauriers <marc.deslauriers@ubuntu.com>1# Author: Marc Deslauriers <marc.deslauriers@ubuntu.com>
22
3#include <tunables/global>3#include <tunables/global>
4/usr/sbin/apache2 {4/usr/sbin/apache2 flags=(attach_disconnected) {
55
6 # This profile is completely permissive.6 # This profile is completely permissive.
7 # It is designed to target specific applications using mod_apparmor,7 # It is designed to target specific applications using mod_apparmor,
@@ -84,7 +84,7 @@
84 /** mrwlkix,84 /** mrwlkix,
8585
8686
87 ^DEFAULT_URI {87 ^DEFAULT_URI flags=(attach_disconnected) {
88 #include <abstractions/base>88 #include <abstractions/base>
89 #include <abstractions/apache2-common>89 #include <abstractions/apache2-common>
9090
@@ -92,7 +92,7 @@
92 /** mrwlkix,92 /** mrwlkix,
93 }93 }
9494
95 ^HANDLING_UNTRUSTED_INPUT {95 ^HANDLING_UNTRUSTED_INPUT flags=(attach_disconnected) {
96 #include <abstractions/apache2-common>96 #include <abstractions/apache2-common>
9797
98 / rw,98 / rw,

Subscribers

People subscribed via source and target branches