[apparmor] [patch] Fix rttime default unit in RlimitRule
Steve Beattie
steve at nxnw.org
Sat Jun 27 06:12:33 UTC 2015
On Fri, Jun 26, 2015 at 11:15:04PM +0200, Christian Boltz wrote:
> RlimitRule accidently used 'ms' (milliseconds) as default unit for
> rttime rules, but rttime without unit means 'us' (microseconds). This
> patch fixes this.
>
> Also add some tests with 'us' as unit, and two more to cover terribly
> invalid corner cases (and to improve test coverage by 2 lines ;-)
>
>
>
> [ 58-RlimitRule-fix-rttime-default-unit.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>, thanks.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150626/7bd95b73/attachment.pgp>
More information about the AppArmor
mailing list