Date: Sun, 25 Jan 2009 00:07:38 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 156628 for review Message-ID: <200901250007.n0P07cQS002090@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156628 Change 156628 by rwatson@rwatson_freebsd_capabilities on 2009/01/25 00:06:47 When no ELF interpret is loaded, set AT_BASE to NULL rather than setting it to the address we would have used if there had been an interpreter. One might argue that AT_BASE shouldn't be set in this case, but Linux does so, so do it here as well. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/kern/imgact_elf.c#5 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/imgact_elf.c#5 (text+ko) ==== @@ -827,7 +827,8 @@ uprintf("ELF interpreter %s not found\n", interp); return (error); } - } + } else + addr = 0; /* * Construct auxargs table (used by the fixup routine)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901250007.n0P07cQS002090>