commit | d53c9f4d212c25b09670a71e2a993071d1e637a2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Mar 19 12:12:31 2018 +0300 |
committer | John Johansen <john.johansen@canonical.com> | Fri Mar 23 17:28:38 2018 -0700 |
tree | 187fbebda854a6541eb3f72bd316838779dc8a96 | |
parent | a61ecd329cfa951b7d36c13e9e2a07e7761c0e89 [diff] |
apparmor: Fix an error code in verify_table_headers() We accidentally return a positive EPROTO instead of a negative -EPROTO. Since 71 is not an error pointer, that means it eventually results in an Oops in the caller. Fixes: d901d6a298dc ("apparmor: dfa split verification of table headers") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John Johansen <john.johansen@canonical.com>