The AppArmor user space development project.
Find a file
Steve Beattie 05450ac38a From: Jeff Mahoney <jeffm@suse.com>
Subject: apparmor: Fix network event parsing
References: bnc#665483

 The upstream version of AppArmor had network mediation but it was
 removed. There's a compability patch floating around that both openSUSE
 and Ubuntu have applied to their kernels. Unfortunately, one part was
 overlooked. The socket operation event names where changed from the
 socket_ prefixed names they had when AppArmor was out-of-tree and
 utils/SubDomain.pm was never updated to understand them.

 This patch adds an operation-type table so that the code can just
 do a optype($operation) call to discover what type of operation a
 particular name refers to. It then uses this in place of the socket_
 checks to decide whether an event is a network operation.

 This allows genprof and logprof to work with networking rules again.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-By: Steve Beattie <sbeattie@ubuntu.com>


Bug: https://launchpad.net/bugs/706733
2011-01-24 15:09:08 -08:00
changehat Merge from trunk revision 1582: update the man pages to: 2011-01-13 16:29:20 -06:00
common Fix minor build warning on rpm based systems. 2010-09-20 11:40:32 -07:00
deprecated/management Deprecate old management applications that are no longer supported and 2010-02-04 14:39:27 -08:00
kernel-patches Pull outdated kernel patches, to avoid confusion. Add README to note 2010-09-16 02:25:59 -07:00
libraries/libapparmor Merge from trunk revision 1595: add aa_change_profile.pod manpage and 2011-01-13 17:06:58 -06:00
parser From: Jeff Mahoney <jeffm@suse.com> 2011-01-14 17:43:44 -06:00
profiles Merge from trunk revision 1620: Attached is an updated dnsmasq profile 2011-01-14 11:38:56 -06:00
tests Merge from trunk rev 1505: modifies the xattr regression test to use 2010-10-04 12:31:00 -07:00
utils From: Jeff Mahoney <jeffm@suse.com> 2011-01-24 15:09:08 -08:00
.bzrignore Fix two x transition conflict bugs. 2011-01-07 12:46:15 -08:00
LICENSE Add a top-level "catch-all" GPLv2 license to cover any files that are 2007-03-30 15:47:14 +00:00
Makefile Fix bzr export command to retain the timestamps from commits, rather 2010-09-16 05:37:53 -07:00