[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash 4.4-rc1 EXECIGNORE not fully working?
From: |
Eric Blake |
Subject: |
Re: bash 4.4-rc1 EXECIGNORE not fully working? |
Date: |
Fri, 18 Mar 2016 12:20:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 03/18/2016 11:36 AM, Andreas Schwab wrote:
> Eric Blake <eblake@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
Re: bash 4.4-rc1 EXECIGNORE not fully working?, Chet Ramey, 2016/03/19