Re: [PATCH] sandbox: Close file after mmaping it

2023-11-15 Thread Simon Glass
On Sat, 4 Nov 2023 at 19:57, Sean Anderson wrote: > > After opening pathname, we must close ifd once we are done with it. > > Fixes: b9274095c2c ("sandbox: Add a way to map a file into memory") > Signed-off-by: Sean Anderson > --- > > arch/sandbox/cpu/os.c | 15 ++- > 1 file

Re: [PATCH] sandbox: Close file after mmaping it

2023-11-04 Thread Simon Glass
On Sat, 4 Nov 2023 at 19:57, Sean Anderson wrote: > > After opening pathname, we must close ifd once we are done with it. > > Fixes: b9274095c2c ("sandbox: Add a way to map a file into memory") > Signed-off-by: Sean Anderson > --- > > arch/sandbox/cpu/os.c | 15 ++- > 1 file

[PATCH] sandbox: Close file after mmaping it

2023-11-04 Thread Sean Anderson
After opening pathname, we must close ifd once we are done with it. Fixes: b9274095c2c ("sandbox: Add a way to map a file into memory") Signed-off-by: Sean Anderson --- arch/sandbox/cpu/os.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git