Re: [PATCH v3 4/8] sandbox: use O_CLOEXEC in os_open()

2020-11-03 Thread Simon Glass
On Tue, 27 Oct 2020 at 13:29, Heinrich Schuchardt 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 > --- > v3: > no change > v2: > new patch > --- > arch/s

Re: [PATCH v3 4/8] sandbox: use O_CLOEXEC in os_open()

2020-11-02 Thread Simon Glass
On Tue, 27 Oct 2020 at 13:29, Heinrich Schuchardt 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 > --- > v3: > no change > v2: > new patch > --- > arch/s

[PATCH v3 4/8] sandbox: use O_CLOEXEC in os_open()

2020-10-27 Thread Heinrich Schuchardt
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 --- v3: no change v2: new patch --- arch/sandbox/cpu/os.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/san