John Johansen a4c3f89c9b apparmor: fixup secid map conversion to using IDR
The IDR conversion did not handle an error case for when allocating a
mapping fails, and it did not ensure that mappings did not allocate or
use a 0 value, which is used as an invalid secid. Which is used when a
mapping fails.

Fixes: 3ae7eb49a2be ("apparmor: Use an IDR to allocate apparmor secids")
Signed-off-by: John Johansen <john.johansen@canonical.com>
2018-06-07 01:50:49 -07:00
..
2018-04-13 15:38:53 -07:00
2017-04-07 08:58:35 +10:00
2018-05-03 00:47:56 -07:00
2018-02-09 11:30:01 -08:00
2018-05-03 00:49:56 -07:00
2018-05-03 00:50:12 -07:00
2018-05-03 00:50:30 -07:00
2018-02-09 11:30:01 -08:00
2018-05-03 00:50:46 -07:00
2018-02-09 11:30:01 -08:00
2018-02-09 11:30:01 -08:00