Re: execve()ing non-existent command returns EPERM instead of ENOENT in Koji

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-05-26, Andreas Schwab <schwab@xxxxxxxxxx> wrote:
> Petr Pisar <ppisar@xxxxxxxxxx> writes:
>
>> Reviewer of my package found the package does pass tests in Koji
>> (dist-f16). I found the reason:
>>
>> A test executes non-existent command and expects ENOENT.
>
> That's a bug in the test.  EACCES is a valid error if a PATH element is
> inaccessible.
>
You are right. Returning EACCES if command does not exist in any
accesible directory and other directories have insufficient permissions
makes sense.

-- Petr

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux