commit | c7bc6cd941aa9e4adf3dec18e6c3d76f029ba8f8 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Nov 04 15:57:33 2023 -0400 |
committer | Simon Glass <sjg@chromium.org> | Tue Nov 14 20:04:01 2023 -0700 |
tree | 57a63137f0c6bf88359fa5125ea219defc793147 | |
parent | 3d65653010971a1347fe5858a6b15c448145f7cd [diff] |
sandbox: Close file after mmaping it 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 <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>