A potential bug to squeeze extra memory through command line arguments

Dmitry V. Levin ldv at altlinux.org
Mon Feb 29 23:39:40 UTC 2016

On Wed, Feb 24, 2016 at 06:02:01PM +0530, haris iqbal wrote:
> Ok. I have come up with a separate memory model for tcbtab. In this
> model, we will use a linked list instead of a global array of pointers
> tcbtab.
> The structure
> struct s_tcbtab
> {
>     struct tcb* data;
>     struct s_tcbtab* next;
> }
> And a global head of the linked list.
> struct s_tcbtab* head_tcbtab = NULL;

I suppose this memory model is better for some use cases and worse for
some other use cases.
What kind of strace usage would win/lose from this change?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160301/a5699ccd/attachment.bin>

More information about the Strace-devel mailing list