Re: [apparmor] [patch] severity.py: change rank_capability() to not expect the CAP_ prefix

2015-05-29 Thread Steve Beattie
On Fri, May 29, 2015 at 11:29:14PM +0200, Christian Boltz wrote: Hello, Am Freitag, 29. Mai 2015 schrieb Steve Beattie: On Sun, May 24, 2015 at 03:45:13PM +0200, Christian Boltz wrote: this patch changes rank_capability() so that it doesn't expect the CAP_ prefix. This makes usage

Re: [apparmor] [patch] severity.py: change rank_capability() to not expect the CAP_ prefix

2015-05-29 Thread Christian Boltz
Hello, Am Freitag, 29. Mai 2015 schrieb Steve Beattie: On Fri, May 29, 2015 at 11:29:14PM +0200, Christian Boltz wrote: Am Freitag, 29. Mai 2015 schrieb Steve Beattie: On Sun, May 24, 2015 at 03:45:13PM +0200, Christian Boltz wrote: this patch changes rank_capability() so that it

Re: [apparmor] [patch] severity.py: change rank_capability() to not expect the CAP_ prefix

2015-05-29 Thread Steve Beattie
On Sun, May 24, 2015 at 03:45:13PM +0200, Christian Boltz wrote: this patch changes rank_capability() so that it doesn't expect the CAP_ prefix. This makes usage easier because callers can simply hand over the capability name. Also change rank() to call rank_capability() without the CAP_

Re: [apparmor] [patch] severity.py: change rank_capability() to not expect the CAP_ prefix

2015-05-29 Thread Christian Boltz
Hello, Am Freitag, 29. Mai 2015 schrieb Steve Beattie: On Sun, May 24, 2015 at 03:45:13PM +0200, Christian Boltz wrote: this patch changes rank_capability() so that it doesn't expect the CAP_ prefix. This makes usage easier because callers can simply hand over the capability name.

[apparmor] [patch] severity.py: change rank_capability() to not expect the CAP_ prefix

2015-05-24 Thread Christian Boltz
Hello, this patch changes rank_capability() so that it doesn't expect the CAP_ prefix. This makes usage easier because callers can simply hand over the capability name. Also change rank() to call rank_capability() without the CAP_ prefix. [ 15-severity-drop-CAP_prefix.diff ] === modified file