[apparmor] [patch] Update RlimitRule to match the parser changes
steve at nxnw.org
Sat Jul 11 05:26:25 UTC 2015
On Thu, Jul 09, 2015 at 10:48:51PM +0200, Christian Boltz wrote:
> this patch updates RlimitRule to match the parser changes in John's patch:
> - allow only a specific set of time units
> - optionally allow whitespace between rlimit value and unit
> - move check for invalid time units to time_to_int()
> Also update the tests:
> - add several tests with whitespace between value and unit
> - change a test that used the (now invalid) "1m" to "1min"
> - change the time_to_int() tests to use 'us' as default unit, and add
> a test with 'seconds as default unit
> [ 71-update-rlimit-rule-for-parser-changes.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>. Thanks!
<sbeattie at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the AppArmor