On Fri, Mar 26, 2021 at 3:38 PM Christoph Hellwig wrote:
>
> Remove the duplicated copying of the pathname into the common helper.
>
> Signed-off-by: Christoph Hellwig
Looks correct, but
> -static int do_execveat(int fd, struct filename *filename,
> +static int do_execveat(int fd, const char __
Remove the duplicated copying of the pathname into the common helper.
Signed-off-by: Christoph Hellwig
---
fs/exec.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/fs/exec.c b/fs/exec.c
index b34c1eb9e7ad8e..5c0dd8f85fe7b5 100644
--- a/fs/exec.c
+++ b/fs/exec.c