Skip to content

Commit

Permalink
exec: remove useless comment
Browse files Browse the repository at this point in the history
Function name is wrong and the comment tells us nothing

Signed-off-by: Askar Safin <safinaskar@zohomail.com>
Link: https://lore.kernel.org/r/20240109030801.31827-1-safinaskar@zohomail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
  • Loading branch information
Askar Safin authored and Kees Cook committed Jan 22, 2024
1 parent 27daa51 commit 8788a17
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1826,9 +1826,6 @@ static int exec_binprm(struct linux_binprm *bprm)
return 0;
}

/*
* sys_execve() executes a new program.
*/
static int bprm_execve(struct linux_binprm *bprm)
{
int retval;
Expand Down

0 comments on commit 8788a17

Please sign in to comment.