diff options
author | John Johansen <john.johansen@canonical.com> | 2012-03-10 11:25:30 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2012-03-14 06:15:02 -0700 |
commit | b1b4bc2ed94d157f3ed60c17a12b658ccb96a76f (patch) | |
tree | d586d6edc39a957d66df9dd2908759a6c5c622e5 /drivers/clocksource/acpi_pm.c | |
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>
Diffstat (limited to 'drivers/clocksource/acpi_pm.c')
0 files changed, 0 insertions, 0 deletions