Re: [apparmor] [patch] fix disabling printk_ratelimit in aa-genprof

2014-06-09 Thread Steve Beattie
On Mon, Jun 09, 2014 at 09:05:58PM +0200, Christian Boltz wrote: > Hallo Leute, > > Am Montag, 9. Juni 2014 schrieb Christian Boltz: > > However, a warning can't hurt. Slightly updated patch: > > Well, actually it can hurt - if you don't import the warn() function ;-) > > So here's v3: Acked-by

Re: [apparmor] [patch] fix disabling printk_ratelimit in aa-genprof

2014-06-09 Thread Christian Boltz
Hallo Leute, Am Montag, 9. Juni 2014 schrieb Christian Boltz: > However, a warning can't hurt. Slightly updated patch: Well, actually it can hurt - if you don't import the warn() function ;-) So here's v3: === modified file 'utils/aa-genprof' --- utils/aa-genprof2014-05-21 19:42:43 + ++

Re: [apparmor] [patch] fix disabling printk_ratelimit in aa-genprof

2014-06-09 Thread Christian Boltz
Hello, Am Montag, 9. Juni 2014 schrieb Seth Arnold: > On Mon, Jun 09, 2014 at 08:33:28PM +0200, Christian Boltz wrote: > > aa-genprof failed to set /proc/sys/kernel/printk_ratelimit to 0 > > (unlimited) because the "if not value:" check matches 0. > > > > This patch replaces the check with "... i

Re: [apparmor] [patch] fix disabling printk_ratelimit in aa-genprof

2014-06-09 Thread Seth Arnold
On Mon, Jun 09, 2014 at 08:33:28PM +0200, Christian Boltz wrote: > Hello, > > aa-genprof failed to set /proc/sys/kernel/printk_ratelimit to 0 > (unlimited) because the "if not value:" check matches 0. > > This patch replaces the check with "... is None". > > > === modified file 'utils/aa-genpr

[apparmor] [patch] fix disabling printk_ratelimit in aa-genprof

2014-06-09 Thread Christian Boltz
Hello, aa-genprof failed to set /proc/sys/kernel/printk_ratelimit to 0 (unlimited) because the "if not value:" check matches 0. This patch replaces the check with "... is None". === modified file 'utils/aa-genprof' --- utils/aa-genprof2014-05-21 19:42:43 + +++ utils/aa-genprof2014-