diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-10-27 20:29:24 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-11-05 09:11:30 -0700 |
commit | c0b19f25a1a2ba935333899e5dcbe4429851cb18 (patch) | |
tree | 6bf06e419dfb99bd42374627419b7d94743d44b5 /arch/sandbox/include/asm/u-boot-sandbox.h | |
parent | 35d949222f5fc629cf89063a39998fbc39c2c4ca (diff) |
sandbox: use O_CLOEXEC in os_open()
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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm/u-boot-sandbox.h')
0 files changed, 0 insertions, 0 deletions