[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B838A92.5070102@canonical.com>
Date: Mon, 22 Feb 2010 23:58:10 -0800
From: John Johansen <john.johansen@...onical.com>
To: "Serge E. Hallyn" <serue@...ibm.com>
CC: john.johansen@...onical.com, linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH 11/12] AppArmor hooks to interface with the LSM, module
parameters and initialization.
Serge E. Hallyn wrote:
> Quoting john.johansen@...onical.com (john.johansen@...onical.com):
>> From: John Johansen <john.johansen@...onical.com>
>>
>> Signed-off-by: John Johansen <john.johansen@...onical.com>
>> ---
<< 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists