[uClinux-dev] Re: [PATCH] FLAT: fix unmap len in load error path

2010-05-27 Thread David McCullough
Jivin Mike Frysinger lays it down ... > The data chunk is mmaped with 'len' which remains unchanged, so use that > when unmapping in the error path rather than trying to recalculate (and > incorrectly so) the value used originally. > > Signed-off-by: Mike Frysinger Acked-by: David McCullough

[uClinux-dev] Re: [PATCH] FLAT: fix unmap len in load error path

2010-05-27 Thread Greg Ungerer
Mike Frysinger wrote: The data chunk is mmaped with 'len' which remains unchanged, so use that when unmapping in the error path rather than trying to recalculate (and incorrectly so) the value used originally. Signed-off-by: Mike Frysinger Acked-by: Greg Ungerer --- fs/binfmt_flat.c |

[uClinux-dev] Re: [PATCH] FLAT: fix unmap len in load error path

2010-06-01 Thread David Howells
Mike Frysinger wrote: > The data chunk is mmaped with 'len' which remains unchanged, so use that > when unmapping in the error path rather than trying to recalculate (and > incorrectly so) the value used originally. > > Signed-off-by: Mike Frysinger Acked-by: David Howells ___