[PATCH] PR29022: 000-permissions files cause problems for backups

2022-04-05 Thread Aaron Merey via Elfutils-devel
000-permission files currently used for negative caching can cause permission problems for some backup software and disk usage checkers. Fix this by using empty files to for negative caching instead. https://sourceware.org/bugzilla/show_bug.cgi?id=29022 Signed-off-by: Aaron Merey --- debuginfo

Re: Using libcurl in another library, when/if to call curl_global_init?

2022-04-05 Thread Mark Wielaard
On Tue, 2022-04-05 at 17:36 +0200, Daniel Stenberg wrote: > On Thu, 31 Mar 2022, Mark Wielaard via curl-library wrote: > > > But we are struggling a bit with how to safely/correctly initialize > > libcurl. > > Are you struggling to meet the requirement as per the documentation > or are you seeing

Re: Using libcurl in another library, when/if to call curl_global_init?

2022-04-05 Thread Daniel Stenberg
On Thu, 31 Mar 2022, Mark Wielaard via curl-library wrote: But we are struggling a bit with how to safely/correctly initialize libcurl. Are you struggling to meet the requirement as per the documentation or are you seeing actual runtime issues? There isn't much left in the third party libra

Re: Using libcurl in another library, when/if to call curl_global_init?

2022-04-05 Thread Florian Weimer via Elfutils-devel
* Mark Wielaard: > Hi, > > On Thu, Mar 31, 2022 at 04:00:16PM +0300, Catalin Raceanu via curl-library > wrote: >> On 31-Mar-22 15:04, Mark Wielaard wrote: >> > whether there is a thread-safe way to call >> > curl_global_init at a later time (to get rid of the library constructor >> > init functio

[Bug debuginfod/29022] 000-permissions files cause problems for backups

2022-04-05 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29022 --- Comment #3 from Frank Ch. Eigler --- I can't come up with a convincing example why 0-length files would be bad, just general unease at the ambiguity. I don't mind switching to it for now; at worst, later on we may have to revise and then

[Bug debuginfod/28708] run-debuginfod-webapi-concurrency.sh seems to be flaky

2022-04-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28708 --- Comment #13 from Mark Wielaard --- (In reply to Evgeny Vereshchagin from comment #12) > FWIW with > https://sourceware.org/git/?p=elfutils.git;a=commit; > h=e646e363e72e06e0ed5574c929236d815ddcbbaf applied the test appears to be > flaky on

Re: [PATCHv2] libelf: Return already gotten Elf_Data from elf_getdata_rawchunk

2022-04-05 Thread Mark Wielaard
Hi, On Fri, 2022-04-01 at 16:15 +0200, Mark Wielaard wrote: > elf_getdata_rawchunk keeps a list of Elf_Data_Chunk to track which > Elf_Data structures have already been requested. This allows elf_end > to clean up all internal data structures and the Elf_Data d_buf if > it was malloced. > > But i