Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 01/02/2008 22:04:56
Module Name: src
Committed By: yamt
Date: Wed Jan 2 22:04:56 UTC 2008
Modified Files:
src/sys/kern: exec_elf32.c
Log Message:
- elf_load_file: return ENOEXEC instead of 0 in the case of
e_phnum > MAXPHNUM.
- exec_elf_makecmds: return an interesting error rather than
always using ENOEXEC.
- reject e_phnum==0.
To generate a diff of this commit:
cvs rdiff -r1.130 -r1.131 src/sys/kern/exec_elf32.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.