Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Aug 18, 7:14am, chuq%chuq.com@localhost (Chuck Silvers) wrote:
-- Subject: Re: CVS commit: src/sys/kern
| On Mon, Aug 18, 2014 at 04:49:17AM +0000, Christos Zoulas wrote:
| > In article <20140817230358.6B94241%cvs.netbsd.org@localhost>,
| > Chuck Silvers <source-changes-d%NetBSD.org@localhost> wrote:
| > >-=-=-=-=-=-
| > >
| > >Module Name: src
| > >Committed By: chs
| > >Date: Sun Aug 17 23:03:58 UTC 2014
| > >
| > >Modified Files:
| > > src/sys/kern: exec_elf.c
| > >
| > >Log Message:
| > >eliminate COMPAT_OLDNOTE and just always recognize the old notes.
| >
| > I don't think I like this, because it allows for sloppy note handling.
| > If we had this code, we would have not found the incorrect note handling
| > in "go". If I don't care about running old binaries, I should expect to
| > have correct notes.
|
| my interpretation of our earlier email discussion was that the old notes
| were correct and treating them the same as the current notes was fine,
| but the current exec code was being overly strict by calling them invalid.
| the difference in to code to honor them or not is "<" vs. "!=",
| so there seemed no harm in doing it all the time.
Well the definition of the note size either changed, or it was not
correctly computed in the old notes. Also the contents of the note
are not checked anymore. I think we should fix the code to check
properly for the note contents and sizes of the old notes.
| I'm not aware of the issue with "go", could you explain?
The size of the note they were creating when building their own binaries was
wrong. Unfortunately calling the language "go" makes google searches useless.
wiz perhaps remembers this:
/cvsroot/pkgsrc/lang/go/patches/Attic/patch-src_cmd_ld_elf.c,v
christos
Home |
Main Index |
Thread Index |
Old Index