commit | b1b4bc2ed94d157f3ed60c17a12b658ccb96a76f | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Sat Mar 10 11:25:30 2012 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Wed Mar 14 06:15:02 2012 -0700 |
tree | d586d6edc39a957d66df9dd2908759a6c5c622e5 | |
parent | ef9a762279c9ce98c592fb144b31898411feb94d [diff] |
AppArmor: Fix oops in policy unpack auditing Post unpacking of policy a verification pass is made on x transition indexes. When this fails a call to audit_iface is made resulting in an oops, because audit_iface is expecting a valid buffer position but since the failure comes from post unpack verification there is none. Make the position argument optional so that audit_iface can be called from post unpack verification. Signed-off-by: John Johansen <john.johansen@canonical.com>