On Fri, 2005-05-20 at 12:40 -0400, Stephen Smalley wrote: > @@ -728,6 +739,12 @@ static void audit_log_exit(struct audit_ > } /* case AUDIT_SOCKADDR */ > break; > > + case AUDIT_AVC: { > + struct audit_aux_data_avc *axi = (void *)aux; > + if (axi->dentry) > + audit_log_d_path(ab, "path=", axi->dentry, axi->mnt); > + } /* case AUDIT_AVC */ > + break; > } > audit_log_end(ab); It gets freed at this point too, not just in audit_free_aux(). So you have to do the mntput and dput here too. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: [email protected]
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: David Woodhouse <[email protected]>
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: [email protected]
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: David Woodhouse <[email protected]>
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: Stephen Smalley <[email protected]>
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: David Woodhouse <[email protected]>
- Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- From: Stephen Smalley <[email protected]>
- 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Prev by Date: Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Next by Date: Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Previous by thread: Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Next by thread: Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502
- Index(es):