From: John Johansen Date: Sat, 10 Mar 2012 19:25:30 +0000 (-0800) Subject: AppArmor: Fix oops in policy unpack auditing X-Git-Tag: v3.4-rc1~165^2~2^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1b4bc2ed94d157f3ed60c17a12b658ccb96a76f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed