diff options
author | John Johansen <john.johansen@canonical.com> | 2018-06-05 05:44:59 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-06-07 11:50:49 +0300 |
commit | a4c3f89c9b5a9fab5a8e4ea05399acd6e23072df (patch) | |
tree | 7a92b037adce16071b0ca0207115b7d8f434c5c6 /samples/v4l | |
parent | 99cc45e486786c7215a7e39824c3bbaf7cf2fc08 (diff) | |
download | linux-a4c3f89c9b5a9fab5a8e4ea05399acd6e23072df.tar.xz |
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>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions