linux-user/syscall: Extract do_execve() from do_syscall1()
commit156e1f67182f61cce113ab5e69e3a73af43ba2cb
authorDrew DeVault <sir@cmpwn.com>
Fri, 4 Nov 2022 17:36:31 +0000 (4 18:36 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 25 Jan 2023 09:44:48 +0000 (25 10:44 +0100)
tree9672cc4f67b61b12c38cdd811ea55c5e6e156e48
parent5667a1aebe93e2bb2ca435f1eef2f1e187b005bf
linux-user/syscall: Extract do_execve() from do_syscall1()

execve() is a particular case of execveat(). In order
to add do_execveat(), first factor do_execve() out.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
[PMD: Split of bigger patch, filled description, fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-5-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c