Merge lp://staging/~elmo/apparmor-profiles/wpa-supplicant into lp://staging/apparmor-profiles
Proposed by
James Troup
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~elmo/apparmor-profiles/wpa-supplicant |
Merge into: | lp://staging/apparmor-profiles |
Diff against target: |
43 lines (+39/-0) 1 file modified
ubuntu/15.04/sbin.wpa_supplicant (+39/-0) |
To merge this branch: | bzr merge lp://staging/~elmo/apparmor-profiles/wpa-supplicant |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cameron Norman (community) | Needs Fixing | ||
AppArmor Developers | Pending | ||
Review via email: mp+257431@code.staging.launchpad.net |
Description of the change
A profile for wpa-supplicant. I've only tested WPA connectivity not anything more complex.
To post a comment you must log in.
Unmerged revisions
- 143. By James Troup
-
sbin.wpa_
supplicant: new profile
Hi James,
I know you are targeting 15.04, but I (minimally) tested your profile on Trusty and it works well with only this small diff:
$ diff -Naur /tmp/sbin. wpa_supplicant /etc/apparmor. d/sbin. wpa_supplicant wpa_supplicant 2015-04-24 15:39:06.105592941 -0400 d/sbin. wpa_supplicant 2015-04-24 15:57:48.692200225 -0400 dbus/system_ bus_socket rw, sendsigs. omit.d/ wpasupplicant. pid rw,
--- /tmp/sbin.
+++ /etc/apparmor.
@@ -21,10 +21,18 @@
/run/
/run/
- @{PROC} /@{pid} /psched r, /@{pid} /net/psched r,
+ owner @{PROC}
/dev/rfkill r,
+ dbus send freedesktop/ DBus, w1.wpa_ supplicant1, fi.epitest. hostap. WPASupplicant} ,
path=/ fi/w1/wpa_ supplicant1,
+ bus=system
+ path=/org/
+
+ dbus bind
+ bus=system
+ name={fi.
+
dbus (send, receive)
bus=system
I don't know if this would be compatible on 15.04 or not.