public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/30100] New: [patch] add dlmem()
@ 2023-02-09  9:47 stsp at users dot sourceforge.net
  2023-02-09  9:48 ` [Bug dynamic-link/30100] " stsp at users dot sourceforge.net
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: stsp at users dot sourceforge.net @ 2023-02-09  9:47 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30100

            Bug ID: 30100
           Summary: [patch] add dlmem()
           Product: glibc
           Version: 2.38
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: stsp at users dot sourceforge.net
  Target Milestone: ---

Created attachment 14663
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14663&action=edit
fix bad free()

Hi guys.

I coded up the dlmem() support discussed here:
https://sourceware.org/bugzilla/show_bug.cgi?id=11767

Currently it consists of 2 patches: small fix to the
pre-existing bad free() problem, and dlmem() itself.
I'll attach them to this ticket.
Yes, I hear your screams "this patch sucks!". But in fact,
when you spend 99% of time thinking how to refactor this
1000+ lines of code function with multiple gotos, and only
1% of time goes to the coding itself, the patch is not going
to be pretty. :)
Also I can't be sure it doesn't introduce a regression.
After I added a member to struct rtld_global_ro, I had
to change the interpreter with patchelf on a tests I need
to run, because they are using the system-wide interpreter
where the struct rtld_global_ro is different. So I have
some tests failures now, but manually patching the interpreter
allows the test to succeed. So I can't properly validate
my patch with all tests.

I really wish someone from glibc to take over that patch. :)
glibc code is exceptionally alien to me, but the patch
works and has a test-case within.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-05-05 14:29 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09  9:47 [Bug dynamic-link/30100] New: [patch] add dlmem() stsp at users dot sourceforge.net
2023-02-09  9:48 ` [Bug dynamic-link/30100] " stsp at users dot sourceforge.net
2023-02-09 11:51 ` adhemerval.zanella at linaro dot org
2023-02-09 12:17 ` stsp at users dot sourceforge.net
2023-02-09 12:48 ` adhemerval.zanella at linaro dot org
2023-02-09 13:59 ` stsp at users dot sourceforge.net
2023-02-09 14:16 ` adhemerval.zanella at linaro dot org
2023-02-09 14:34 ` stsp at users dot sourceforge.net
2023-02-09 15:14 ` stsp at users dot sourceforge.net
2023-02-09 16:51 ` stsp at users dot sourceforge.net
2023-02-09 16:55 ` adhemerval.zanella at linaro dot org
2023-02-09 16:56 ` adhemerval.zanella at linaro dot org
2023-02-09 17:37 ` stsp at users dot sourceforge.net
2023-02-09 17:58 ` stsp at users dot sourceforge.net
2023-02-09 18:22 ` schwab@linux-m68k.org
2023-02-09 18:29 ` stsp at users dot sourceforge.net
2023-02-09 18:49 ` stsp at users dot sourceforge.net
2023-02-09 18:56 ` stsp at users dot sourceforge.net
2023-02-09 19:00 ` stsp at users dot sourceforge.net
2023-02-09 19:02 ` adhemerval.zanella at linaro dot org
2023-02-10  8:27 ` stsp at users dot sourceforge.net
2023-02-10  8:30 ` stsp at users dot sourceforge.net
2023-02-10  8:30 ` stsp at users dot sourceforge.net
2023-02-10  9:08 ` stsp at users dot sourceforge.net
2023-02-10 10:04 ` stsp at users dot sourceforge.net
2023-02-10 13:09 ` stsp at users dot sourceforge.net
2023-02-10 13:46 ` adhemerval.zanella at linaro dot org
2023-02-11 17:37 ` stsp at users dot sourceforge.net
2023-02-11 19:08 ` stsp at users dot sourceforge.net
2023-02-11 19:37 ` stsp at users dot sourceforge.net
2023-02-16 13:40 ` stsp at users dot sourceforge.net
2023-03-17  6:41 ` stsp at users dot sourceforge.net
2023-03-17  6:45 ` stsp at users dot sourceforge.net
2023-03-18 18:14 ` stsp at users dot sourceforge.net
2023-03-18 23:30 ` janderson at rice dot edu
2023-03-19  2:14 ` stsp at users dot sourceforge.net
2023-03-20 15:47 ` stsp at users dot sourceforge.net
2023-03-20 16:06 ` stsp at users dot sourceforge.net
2023-03-29 14:45 ` sam at gentoo dot org
2023-05-05 14:29 ` stsp at users dot sourceforge.net

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).