unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20614: [PATCH 0/8] ELF unexec (bug#20614)
       [not found] ` <83611lxe4k.fsf@gnu.org>
@ 2015-11-02  4:00   ` Paul Eggert
       [not found]   ` <20151104223522.GI25915@bubble.grove.modra.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggert @ 2015-11-02  4:00 UTC (permalink / raw)
  To: Eli Zaretskii, Alan Modra; +Cc: 20614

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

Eli Zaretskii wrote:
> Thanks.  It would be best to send these to the bug tracker,
> 20614@debbugs.gnu.org, so that this is recorded with the bug.

Done by attaching them to this email, which is CC'ed there.

> I'll let ELF experts review this, but in any case, we will need your
> legal paperwork before we can accept such a substantial contribution.

At first glance these patches look good to me; thanks Alan!  We can pick these 
up once the paperwork goes through.

[-- Attachment #2: unexec-fixes.tgz --]
[-- Type: application/x-compressed-tar, Size: 30262 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#20614: [PATCH 0/8] ELF unexec (bug#20614)
       [not found]   ` <20151104223522.GI25915@bubble.grove.modra.org>
@ 2015-11-08 18:07     ` Paul Eggert
  2016-02-23 10:33       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2015-11-08 18:07 UTC (permalink / raw)
  To: Alan Modra; +Cc: 20614

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Alan Modra wrote:
> IBM legal get back to me to say they believe IBM's FSF copyright
> assignment letter does cover contributions to EMACS.

This should be enough. I installed your patch into Emacs master, with one minor 
fixup (attached) to pacify './configure --enable-gcc-warnings'.

Petr, can you please verify that this fixes the bug for you? If so, I can mark 
the bug as fixed in our database.

Thanks again for fixing the bug, Alan.

[-- Attachment #2: 0001-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch --]
[-- Type: text/x-diff, Size: 1194 bytes --]

From fc4d0bb842509ce81d2dfe2dec1f7fdbef728531 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 8 Nov 2015 09:36:14 -0800
Subject: [PATCH] * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro
 (Bug#20614).

---
 src/unexelf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/unexelf.c b/src/unexelf.c
index 85ed934..c10c7f2 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -208,8 +208,6 @@ entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize)
   (*(ElfW (Shdr) *) entry_address (new_section_h, n, new_file_h->e_shentsize))
 #define OLD_PROGRAM_H(n) \
   (*(ElfW (Phdr) *) entry_address (old_program_h, n, old_file_h->e_phentsize))
-#define NEW_PROGRAM_H(n) \
-  (*(ElfW (Phdr) *) entry_address (new_program_h, n, new_file_h->e_phentsize))
 
 typedef unsigned char byte;
 
@@ -250,7 +248,7 @@ unexec (const char *new_name, const char *old_name)
   ElfW (Phdr) *old_bss_seg, *new_bss_seg;
   ElfW (Addr) old_bss_addr, new_bss_addr;
   ElfW (Word) old_bss_size, new_data2_size;
-  ElfW (Off)  old_bss_offset, new_data2_offset;
+  ElfW (Off) old_bss_offset, new_data2_offset;
 
   ptrdiff_t n;
   ptrdiff_t old_bss_index;
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#20614: [PATCH 0/8] ELF unexec (bug#20614)
  2015-11-08 18:07     ` Paul Eggert
@ 2016-02-23 10:33       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-23 10:33 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 20614, Alan Modra

Paul Eggert <eggert@cs.ucla.edu> writes:

> This should be enough. I installed your patch into Emacs master, with
> one minor fixup (attached) to pacify './configure
> --enable-gcc-warnings'.
>
> Petr, can you please verify that this fixes the bug for you? If so, I
> can mark the bug as fixed in our database.

That was 15 weeks ago, so this is presumably working now.  I'm closing
the bug report; please reopen if this is still a problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-23 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20151102015334.GO13961@bubble.grove.modra.org>
     [not found] ` <83611lxe4k.fsf@gnu.org>
2015-11-02  4:00   ` bug#20614: [PATCH 0/8] ELF unexec (bug#20614) Paul Eggert
     [not found]   ` <20151104223522.GI25915@bubble.grove.modra.org>
2015-11-08 18:07     ` Paul Eggert
2016-02-23 10:33       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).