[libc-commits] [libc] [libc] implement execvp (PR #232008)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Oct 15 06:12:36 PDT 2026


https://github.com/labath commented:

The code looks good. Two comments:
- [optional] given that we'll likely want to reuse this code for execlp and execvpe (gnu extension), it might be nice to put this directly into some `_utils` file so that it doesn't have to be moved when one of those functions gets added
- I think we also ought to have a test for the EACCES scenario. It should be sufficient to have the test execute a file without the executable bit. I'm not sure what's the easiest way to create one.

https://github.com/llvm/llvm-project/pull/232008


More information about the libc-commits mailing list