On 10/18/2012 12:19 AM, Hiromu Yakura wrote: > In my environment, AppArmor cause Oops every time when cupsd launch. > > This is the log of Oops: > [ 114.876511] general protection fault: 0000 [#1] SMP
<snip> > It seems that bad address was passed for the second argument of > audit_log_untrustedstring() at audit_cb() in capability.c: > 52 audit_log_untrustedstring(ab, capability_names[sa->u.cap]); > > The array "capability_names" is defined in capability_names.h but the content > of this is generated by Makefile from include/linux/capability.h > However, capability.h was moved to include/uapi/linux/capability.h and > because > of this, the array is empty. > That's why, sa->u.cap become out of range this and segmentation fault caused. > > Let's fix it. > > Cc: James Morris <james.l.mor...@oracle.com> > Cc: John Johansen <john.johan...@canonical.com> > Thanks Hiromu, but this was fixed a few hours ago http://marc.info/?t=135050396600008&r=1&w=2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/