]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
execve: fold {compat_,}do_execve{,at}() into their sole callers
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 7 Jan 2026 20:16:24 +0000 (15:16 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Jan 2026 20:18:08 +0000 (15:18 -0500)
commit88b33614f9ca09a0f6471b1790f5f718d01d84a6
tree46790487e6bc8e0c6905859f579ecf1f07b8d5ed
parentbb850584aaa2f31bc6c494f973047a325961b333
execve: fold {compat_,}do_execve{,at}() into their sole callers

All of them are wrappers for do_execveat_common() and each has
exactly one caller.  The only difference is in the way they are
constructing argv/envp arguments for do_execveat_common() and
that's easy to do with less boilerplate.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exec.c