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>] [day] [month] [year] [list]
Message-ID: <s5hws2dyyr0.wl%tiwai@suse.de>
Date:	Fri, 30 Oct 2009 11:14:43 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/8] param: use free hook for charp

Hi Rusty,

sorry for the delayed reply; I finally got back to work now.

At Fri, 23 Oct 2009 00:51:29 +1030,
Rusty Russell wrote:
> 
> 
> Instead of using a "I kmalloced this" flag, we keep track of the kmalloced
> strings and use that list to check if we need to kfree (in practice, the
> list is very short).
> 
> This means that kparams can be const again.
> 
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>

This is indeed a simple solution!  I like it.


thanks,

Takashi
--
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