From owner-freebsd-current Tue Apr 23 20:59:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA12510 for current-outgoing; Tue, 23 Apr 1996 20:59:06 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA12502 Tue, 23 Apr 1996 20:59:01 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.5/8.6.12) with ESMTP id UAA20804; Tue, 23 Apr 1996 20:57:23 -0700 (PDT) Message-Id: <199604240357.UAA20804@austin.polstra.com> To: lehey.pad@sni.de Cc: terry@lambert.org, mmead@Glock.COM, smpatel@FreeBSD.org, current@FreeBSD.org, ec0@s1.GANet.NET Subject: Re: possible 4th option? [Re: kern/1102] In-reply-to: <199604230723.JAA09548@nixpbe.pdb.sni.de> Date: Tue, 23 Apr 1996 20:57:23 -0700 From: John Polstra Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Greg wrote: > > The ELF specification defines a mechanism for adding extra identifying > > information to an executable file: the PT_NOTE program header, and > > associated SHT_NOTE section... > > Sounds reasonable, even if it's a bit tedious. It's not too bad, really. I've got it working in the compiler+linker now, and I've looked at the kernel code in imgact_elf.c. That code already has to scan and interpret the program headers, so there's not a lot of extra work to be done. > > I'm going to try to add this kind of identification to our FreeBSD ELF > > executables, and fix the kernel to recognize them. (Unfortunately, as > > usual, the binutils code maze is doing its best to make this difficult > > for me.) I'd like to coordinate this with the Linux people, if they're > > interested. > > Good idea. While you're at it, why not give Sun and SCO a chance to > cooperate? I would welcome that, but somebody else is going to have to approach them. Sorry, I'm just not an ambassador by nature. And I only commit unnatural acts in my paying job :-). -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth