Source-Changes archive

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

CVS commit: [netbsd-7] src/sys/kern

Module Name:    src
Committed By:   snj
Date:           Sat Mar 18 05:22:18 UTC 2017

Modified Files:
        src/sys/kern [netbsd-7]: exec_elf.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1368):
        sys/kern/exec_elf.c: revision 1.88 via patch
netbsd_elf_signature - look at note segments (phdrs) not note
sections.  They point to the same data in the file, but sections are
for linkers and are not necessarily present in an executable.
The original switch from phdrs to shdrs seems to be just a cop-out to
avoid parsing multiple notes per segment, which doesn't really avoid
the problem b/c sections also can contain multiple notes.

To generate a diff of this commit:
cvs rdiff -u -r1.69.2.4 -r1.69.2.5 src/sys/kern/exec_elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index