[syslinux] PXE Error Reporting

Gene Cumm gene.cumm at gmail.com
Tue Jan 20 13:01:21 PST 2015


On Tue, Jan 20, 2015 at 3:55 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 01/20/2015 12:17 PM, Andreas Gruenbacher wrote:
>> On 01/20/2015 09:13 PM, H. Peter Anvin wrote:
>>> I can't remember, but I have a vague recollection that someone
>>> specifically requested that EACCES be treated the same as ENOENT...
>>
>> If that is really necessary then please don't report that condition as
>> "file not found"; it's really misleading.
>
> That is, however, the whole point -- the existence of a inaccessible
> file should not be visible to the client.
>
> This is apparently a security requirement in some environments.

To me, this feels better either left as-is or implemented as a
configuration variable with the default of returning ENOENT but
allowing the tftpd to return EACCES if the system administrator feels
the benefits outweigh the risks.

-- 
-Gene


More information about the Syslinux mailing list