[PATCH v3 4/8] sandbox: use O_CLOEXEC in os_open()
Simon Glass
sjg at chromium.org
Wed Nov 4 00:03:27 CET 2020
On Tue, 27 Oct 2020 at 13:29, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> During a cold reset execv() is used to relaunch the U-Boot binary.
> We must ensure that all files are closed in this case.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v3:
> no change
> v2:
> new patch
> ---
> arch/sandbox/cpu/os.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list