Re: [PATCH 11/12] AppArmor hooks to interface with the LSM, moduleparameters and initialization.

From: John Johansen
Date: Tue Feb 23 2010 - 02:58:20 EST


Serge E. Hallyn wrote:
> Quoting john.johansen@xxxxxxxxxxxxx (john.johansen@xxxxxxxxxxxxx):
>> From: John Johansen <john.johansen@xxxxxxxxxxxxx>
>>
>> Signed-off-by: John Johansen <john.johansen@xxxxxxxxxxxxx>
>> ---

<< snip >>

>> + */
>> +static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp)
>> +{
>> + /* freed by apparmor_cred_free */
>> + struct aa_task_cxt *cxt = aa_alloc_task_context(gfp);
>> + if (cxt)
>> + return -ENOMEM;
>
> if (!cxt)? :)
>
yikes, how the????!!!! Color me embarressed, I don't know how that
slipped in????

thanks
john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/