[apparmor] [Branch ~apparmor-dev/apparmor/master] Rev 3190: fix: rlimit unit parsing for time

Steve Beattie steve at nxnw.org
Sat Jul 11 14:52:46 UTC 2015


On Sat, Jul 11, 2015 at 02:26:22PM +0200, Christian Boltz wrote:
> Am Samstag, 11. Juli 2015 schrieb noreply at launchpad.net:
> > +B<RLIMIT TIME> = I<NUMBER> ( 'us' | 'microsecond' | 'microseconds' |
> > 'ms' | 'millisecond' | 'milliseconds' | 's' | | 'sec' | 'second' |
> > 'seconds' | 'm' | 'min' | 'minute' | 'minutes' | 'h' | 'hour' |
> > 'hours' | 'day' | 'days' | 'week' | 'weeks' ) Only applies to RLIMIT
> > of 'cpu', 'rttime'. RLIMIT 'cpu' only allows units >= 'seconds'.
> 
> Wrong ;-)

Ah, diplomacy at its finest.

> Here's the fix:
> 
> 
> [patch] Fix rlimit time units in apparmor.d.pod
> 
> - fix double | | between 's' and 'sec'
> - remove 'm' which is not supported by the code
> - add missing 'd'
> 
> 
> 
> [ apparmor.d-fix-time-units.diff ]

Acked-by: Steve Beattie <steve at nxnw.org>.

-- 
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/20150711/999080a8/attachment.pgp>


More information about the AppArmor mailing list