]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
simplify the callers of alloc_bprm()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 25 Sep 2025 21:18:42 +0000 (17:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Jan 2026 20:18:08 +0000 (15:18 -0500)
commitbb850584aaa2f31bc6c494f973047a325961b333
treed1734d16af2ca7eb91d0b4f60909fc70ad628e9f
parent2c941f26c6abc032fd7800ac7dcbfaf3cb586e21
simplify the callers of alloc_bprm()

alloc_bprm() starts with do_open_execat() and it will do the right
thing if given ERR_PTR() for name.  Allows to drop such checks in
its callers...

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