[Bug 275370] Add execvpe()

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Nov 2023 10:23:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275370

            Bug ID: 275370
           Summary: Add execvpe()
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: vini.ipsmaker@gmail.com

Would it be possible to add execvpe() that is found on Linux/glibc systems?
Currently I have to do the following:

environ = args->envp;
execvp(args->program, args->argv);

However this workaround will not even compile for shared libraries (one of my
scenarios) because of another FreeBSD bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263265

execvpe() would solve my problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.