On 03/18/2016 11:36 AM, Andreas Schwab wrote: > Eric Blake <ebl...@redhat.com> writes: > >> But I don't know whether bash is calling exec[lv] with a canonicalized >> name instead of exec[lv]p() with the kernel doing the lookup; > > PATH searching is a pure user-space concept.
Fine. Then read that as "with libc doing the lookup", since execlvp() is just a libc wrapper around the kernel execve(). The point I was trying to get at was that I don't know if bash does all the PATH lookups itself, or if it delegates; and therefore, I don't know if EXECIGNORE can (or should) affect PATH lookups. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature