Re: [apparmor] [PATCH v2] utils: Basic support for bare capability rules

2014-03-20 Thread Tyler Hicks
On 2014-03-20 11:07:30, Steve Beattie wrote: > On Thu, Mar 20, 2014 at 12:30:56PM -0500, Tyler Hicks wrote: > > Bug: https://bugs.launchpad.net/bugs/1294819 > > > > This patch as minimal support for bare capability rules ("capability,"). > > It prevents aa.py from emitting a traceback when encount

Re: [apparmor] [PATCH v2] utils: Basic support for bare capability rules

2014-03-20 Thread Steve Beattie
On Thu, Mar 20, 2014 at 12:30:56PM -0500, Tyler Hicks wrote: > Bug: https://bugs.launchpad.net/bugs/1294819 > > This patch as minimal support for bare capability rules ("capability,"). > It prevents aa.py from emitting a traceback when encountering such a > rule. > > It only adds the ability to p

[apparmor] [PATCH v2] utils: Basic support for bare capability rules

2014-03-20 Thread Tyler Hicks
Bug: https://bugs.launchpad.net/bugs/1294819 This patch as minimal support for bare capability rules ("capability,"). It prevents aa.py from emitting a traceback when encountering such a rule. It only adds the ability to parse and write the bare rule. It doesn't attempt to be clever when deleting

Re: [apparmor] [PATCH] utils: Basic support for bare capability rules

2014-03-20 Thread Tyler Hicks
On 2014-03-20 13:32:14, Christian Boltz wrote: > Hello, > > Am Mittwoch, 19. März 2014 schrieb Tyler Hicks: > > Bug: https://bugs.launchpad.net/bugs/1294819 > > > > This patch as minimal support for bare capability rules > > ("capability,"). It prevents aa.py from emitting a traceback when > > en

[apparmor] [Merge] lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain.2.8.95-trusty into lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain

2014-03-20 Thread Jamie Strandboge
The proposal to merge lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain.2.8.95-trusty into lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~apparmor-dev/apparmor/apparmor-ubuntu-citrain.2.

Re: [apparmor] [PATCH] utils: Basic support for bare capability rules

2014-03-20 Thread Christian Boltz
Hello, Am Mittwoch, 19. März 2014 schrieb Tyler Hicks: > Bug: https://bugs.launchpad.net/bugs/1294819 > > This patch as minimal support for bare capability rules > ("capability,"). It prevents aa.py from emitting a traceback when > encountering such a rule. > > It only adds the ability to parse

Re: [apparmor] [PATCH] utils: Add very limited support for mount rules

2014-03-20 Thread Christian Boltz
Hello, Am Mittwoch, 19. März 2014 schrieb Tyler Hicks: > Bug: https://bugs.launchpad.net/bugs/1294825 > > This patch is inspired by sbeattie's patch to add limited dbus rule > support. It adds does very dumb parsing of mount rules. Basically, it > stores mount, remount, and umount rules as raw st

Re: [apparmor] [patch] regression sysctl: skip if sysctl not implemented

2014-03-20 Thread John Johansen
On 03/19/2014 11:35 AM, Steve Beattie wrote: > On Wed, Mar 19, 2014 at 01:47:32AM -0700, John Johansen wrote: >> Check to see if sysctl is enabled on the kernel before running the tests >> >> If sysctl is not enabled warn that the test is being skipped >> >> --- >> >> === modified file 'tests/regre

Re: [apparmor] [patch] regression swap test: 640 KiB not enough swap for everyone

2014-03-20 Thread John Johansen
On 03/20/2014 12:53 AM, Steve Beattie wrote: > On ppc64el platforms, the minimum swapfile size is 640KiB. Our swap > test aborts there because it creates a swapfile of size 512KiB. This > patch adjusts the size to 768KiB, to satisfy ppc64el and to try > to keep the size down for embedded and otherw

[apparmor] [patch] regression swap test: 640 KiB not enough swap for everyone

2014-03-20 Thread Steve Beattie
On ppc64el platforms, the minimum swapfile size is 640KiB. Our swap test aborts there because it creates a swapfile of size 512KiB. This patch adjusts the size to 768KiB, to satisfy ppc64el and to try to keep the size down for embedded and otherwise limited platforms (e.g. phones). Signed-off-by:

Re: [apparmor] [PATCH] utils: Add very limited support for mount rules

2014-03-20 Thread Steve Beattie
On Wed, Mar 19, 2014 at 07:26:54PM -0500, Tyler Hicks wrote: > Bug: https://bugs.launchpad.net/bugs/1294825 > > This patch is inspired by sbeattie's patch to add limited dbus rule > support. It adds does very dumb parsing of mount rules. Basically, it > stores mount, remount, and umount rules as r