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:	Wed, 1 Dec 2010 17:33:48 +0000
From:	Alex Bennee <kernel-hacker@...nee.com>
To:	Américo Wang <xiyou.wangcong@...il.com>
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: Re: Problems using EXPORT_SYMBOL with lib/flex_array

On 1 December 2010 16:19, Américo Wang <xiyou.wangcong@...il.com> wrote:
> On Wed, Dec 01, 2010 at 01:20:30PM +0000, Alex Bennee wrote:
>>On 1 December 2010 12:05, Alex Bennee <kernel-hacker@...nee.com>
wrote:
<snip>
>>Tweaking the lib/Makefile so obj-y included flex_array.o did
>>the trick.
>>
>>I'm unsure if this behaviour is what is wanted?
>
> Yes, but not sure about flex_array.o.
> Which functions in flex_array.c do you need in your module anyway?

I want to use it to store a sparse array of ATM cell re-assembly
buffers for my ATM over Ethernet driver. Using the per-vcc user_back
structure causes problems when stacked with things like br2684.

So I'm currently using flex_array_alloc/free/clear/put although I
exported them all. I would have thought using library functions was
preferable to rolling your own?

I'm open to other suggestions though.

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk
--
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