[syslinux] PXE Error Reporting

H. Peter Anvin hpa at zytor.com
Tue Jan 20 12:13:31 PST 2015


On 01/18/2015 03:23 PM, Sebastian Herbszt wrote:
> 
> --- tftp-hpa-5.2/tftpd/tftpd.c.orig	2015-01-16 21:45:30.790798281 +0100
> +++ tftp-hpa-5.2/tftpd/tftpd.c	2015-01-18 23:44:28.031177383 +0100
> @@ -1504,6 +1504,8 @@ static int validate_access(char *filenam
>              return ENOSPACE;
>          case EEXIST:
>              return EEXISTS;
> +        case EACCES:
> +            return EACCESS;
>          default:
>              return errno + 100;
>          }

I can't remember, but I have a vague recollection that someone
specifically requested that EACCES be treated the same as ENOENT...

	-hpa




More information about the Syslinux mailing list