lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ