apparmor/utils
Christian Boltz 78cd88c56d fix aa-decode by backporting all changes from trunk to 2.8 branch
Acked-By: John Johansen (up to r2072)
Acked-by: Steve Beattie <sbeattie@ubuntu.com> (including r2088)


In detail, the changes are (bzr log from trunk):
------------------------------------------------------------
revno: 2088
committer: Christian Boltz <apparmor@cboltz.de>
branch nick: apparmor
timestamp: Tue 2013-01-01 20:15:04 +0100
message:
  speed up aa-decode by using a bash regex matching instead of calling egrep for each line.

  Acked-by: Steve Beattie <sbeattie@ubuntu.com>

  (Patch sent 2012-11-01, Acked-by from 2013-01-01)
------------------------------------------------------------
revno: 2072
committer: Christian Boltz <apparmor@cboltz.de>
branch nick: apparmor
timestamp: Tue 2012-10-16 00:19:49 +0200
message:
  Fix aa-decode handling of stdin

  Handling stdin was totally broken (= no output) with the current log
  format because aa-decode expected name= to be the last entry in the
  log line.

  This patch for stdin handling
  - fixes the pattern to match the current log format (name= is NOT the
    last part in the log entry)
  - uses bash replacement to avoid some sed calls (which also means the
    script now needs an explicit "#!/bin/bash")
  - prints decoded filenames in double instead of single quotes to be
    consistent with filenames that were not encoded
  - also prints lines that do not contain an encoded filename (instead of
    grepping them away)
  - replace tr calls by perl's uc() (also for non-stdin mode)
  - also handle encoded profile names (introduced by Steve)
  - don't fail if a file or profile name contains a '

  In other words: you can pipe your audit.log through aa-decode, and the
  only difference to the raw audit.log is that filenames are decoded.


  Acked-By: Steve Beattie <sbeattie@ubuntu.com>
------------------------------------------------------------
revno: 2068
committer: Christian Boltz <apparmor@cboltz.de>
branch nick: apparmor
timestamp: Mon 2012-09-17 23:55:28 +0200
message:
  fix error handling in aa-decode

  Acked-By: Steve Beattie <sbeattie@ubuntu.com>

  Looks-Good-By: ;-)  Seth Arnold <seth.arnold@gmail.com>
------------------------------------------------------------
2013-01-01 20:26:19 +01:00
..
apparmor This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
easyprof This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
Immunix Original Author: mancha@mancha.user.oftc.net 2012-06-08 14:27:05 -07:00
po From: Jeff Mahoney <jeffm@suse.com> 2011-02-08 16:29:59 -08:00
test mark easyprof and easyprof test scripts as executable 2012-05-09 11:05:07 -07:00
vim Original Author: mancha@mancha.user.oftc.net 2012-06-08 14:27:05 -07:00
aa-audit fix sprintf arguments 2011-05-23 11:28:26 -07:00
aa-audit.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
aa-autodep fix sprintf arguments 2011-05-23 11:28:26 -07:00
aa-autodep.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
aa-complain Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
aa-complain.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
aa-decode fix aa-decode by backporting all changes from trunk to 2.8 branch 2013-01-01 20:26:19 +01:00
aa-decode.pod as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
aa-disable make aa-disable executable 2011-02-07 21:02:57 -06:00
aa-disable.pod add aa-disable 2011-02-07 17:39:36 -06:00
aa-easyprof mark easyprof and easyprof test scripts as executable 2012-05-09 11:05:07 -07:00
aa-easyprof.pod This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
aa-enforce fix sprintf arguments 2011-05-23 11:28:26 -07:00
aa-enforce.pod Description: fix minor manpage type pointed out by lintian. 2011-05-02 13:33:31 -07:00
aa-eventd as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
aa-exec utils/aa-exec: update copyright year to be 2011-2012 since it was committed 2012-03-22 18:07:07 -05:00
aa-exec.pod Attached is a patch to add --stderr to the common rules for generating 2012-04-11 11:16:47 -05:00
aa-genprof The printk ratelimit needs to be disabled when running genprof via 2011-08-18 18:15:41 -05:00
aa-genprof.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
aa-logprof Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
aa-logprof.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
aa-notify More helpful error message for "aa-notify -p" if a user is not member of 2011-10-20 00:20:02 +02:00
aa-notify.pod utils/aa-notify.pod: update to clarify '-u' argument when using '-p' 2011-08-17 07:49:00 -05:00
aa-repo.pl Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
aa-status - added new aa-status tool rewritten in Python 2011-05-27 15:08:50 -04:00
aa-status.pod as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
aa-unconfined Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
aa-unconfined.pod as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
apparmor-utils.spec.in as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
check_po.pl
convert-profile.pl
logprof.conf As /var/log/messages has been phased out, start preferring syslog 2011-08-18 18:17:22 -05:00
logprof.conf.pod update documentation for aa-disable 2011-02-07 17:39:54 -06:00
Makefile This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
notify.conf Here is a patch to standardize on all utils using the "aa-" prefix instead 2010-11-03 17:03:52 -07:00
python-tools-setup.py This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
repair_obsolete_profiles
severity.db add CAP_BLOCK_SUSPEND to severity.db 2012-12-17 13:34:41 +01:00