Re: [PATCH 2/5] linux-uesr: make exec_path realpath

2021-05-25 Thread Takashi Yamamoto
On Tue, May 25, 2021 at 7:59 AM Takashi Yamamoto wrote: > > On Mon, May 24, 2021 at 7:59 PM Alex Bennée wrote: > > > > > > YAMAMOTO Takashi writes: > > > > > Otherwise, it can be easily fooled by the user app using chdir(). > > > > > > Signed-off-by: YAMAMOTO Takashi > > > --- > > >

Re: [PATCH 2/5] linux-uesr: make exec_path realpath

2021-05-24 Thread Takashi Yamamoto
On Mon, May 24, 2021 at 7:59 PM Alex Bennée wrote: > > > YAMAMOTO Takashi writes: > > > Otherwise, it can be easily fooled by the user app using chdir(). > > > > Signed-off-by: YAMAMOTO Takashi > > --- > > linux-user/main.c | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > >

Re: [PATCH 2/5] linux-uesr: make exec_path realpath

2021-05-24 Thread Alex Bennée
YAMAMOTO Takashi writes: > Otherwise, it can be easily fooled by the user app using chdir(). > > Signed-off-by: YAMAMOTO Takashi > --- > linux-user/main.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/linux-user/main.c b/linux-user/main.c > index

[PATCH 2/5] linux-uesr: make exec_path realpath

2021-05-23 Thread YAMAMOTO Takashi
Otherwise, it can be easily fooled by the user app using chdir(). Signed-off-by: YAMAMOTO Takashi --- linux-user/main.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-user/main.c b/linux-user/main.c index 4dfc47ad3b..1f9f4e3820 100644 --- a/linux-user/main.c +++