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

Daniel J Walsh dwalsh at redhat.com
Thu May 26 13:00:44 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/26/2011 06:57 AM, Kevin Kofler wrote:
> Petr Pisar wrote:
>> A test executes non-existent command and expects ENOENT. This is how it
>> works even in my local Rawhide. However Koji glibc returns [EACCESS].
> 
> I guess the difference is due to SELinux.
> 
>         Kevin Kofler
> 
Is there a chance SELinux is preventing the search of the path, before
the kernel realizes there is noent?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk3eTvwACgkQrlYvE4MpobMbkACfRpT2zJegSe2P7HD2g3sJrLkE
27cAmwTaks33L+29IL8TbBKnjUResAfA
=70yt
-----END PGP SIGNATURE-----


More information about the devel mailing list