Re: debuginfod Credential Helper RFC

2022-07-29 Thread Daniel Thornburgh via Elfutils-devel
On Fri, Jul 29, 2022 at 11:58 AM Mark Wielaard wrote: > I don't know how people "scope" this. But it feels a little paranoid to > restrict access to debuginfo and sources. So I wouldn't really mind > other users also having access. > > You don't even need a real httpd proxy, you could even run a

Re: debuginfod Credential Helper RFC

2022-07-29 Thread Mark Wielaard
Hi, On Thu, 2022-07-28 at 10:47 -0700, Daniel Thornburgh via Elfutils-devel wrote: > > > > I think this could work for a standalone program like debuginfod-find, > > but not for a library like libdebuginfod. I would rather not have to > > fork and exec from libdebuginfod. > > > > Could this fu

[Bug libdw/29430] `dwarf_getscopes` fails after a8493c1

2022-07-29 Thread godlygeek at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29430 Matt Wozniski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

☺ Buildbot (GNU Toolchain): elfutils - build successful (master)

2022-07-29 Thread builder--- via Elfutils-devel
A restored build has been detected on builder elfutils-fedora-s390x while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/43/builds/45 Build state: build successful Revision: 0873ae782d14e672e8344775e76b7fca0a8b41bf Worker: fedora-s390x Bui

Re: [PATCH] libdwfl: Rewrite reading of ar_size in elf_begin_rand

2022-07-29 Thread Mark Wielaard
Hi, On Thu, 2022-07-28 at 15:48 +0200, Mark Wielaard wrote: > With GCC 12.1.1, glibc 2.3a, -fsanitize=undefined and > -D_FORTIFY_SOURCE=3 we get the following error message: > > In file included from /usr/include/ar.h:22, > from ../libelf/libelfP.h:33, > from cor

Re: [PATCH] libdwfl: Rewrite reading of ar_size in elf_begin_rand

2022-07-29 Thread Siddhesh Poyarekar
On 2022-07-28 13:27, Siddhesh Poyarekar wrote: Interesting, I'll take a closer look at this from the gcc context.  I obviously don't have any strong opinions about the elfutils patch :) I reduced this to the below program and I see it warns with `-D_FORTIFY_SOURCE=3 -O2 -fsanitize=undefined` a

Re: [PATCH 1/1] debuginfod: create indexes to speed up grooming

2022-07-29 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > Subject: [PATCH 1/1] debuginfod: create indexes to speed up grooming > Create indexes on _r_de and _f_de tables > to speed up delete operations called by groom() function. Pushed, thanks! - FChE

[PATCH 1/1] debuginfod: create indexes to speed up grooming

2022-07-29 Thread Josef Čejka via Elfutils-devel
>From 32bd2715e2490fe7a56794b78563c799d456f4be Mon Sep 17 00:00:00 2001 From: Josef Cejka Date: Fri, 8 Jul 2022 14:57:07 +0200 Subject: [PATCH 1/1] debuginfod: create indexes to speed up grooming Create indexes on _r_de and _f_de tables to speed up delete operations called by groom() function. P

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
Re-pushed for fixing run-backtrace-core-sparc.sh failure which resulted from some wrong register number. On Fri, Jul 29, 2022 at 9:27 PM Di Chen wrote: > Thanks for the review, Mark. > > Re-pushed a patch for it. > > 1. NEWS entry added. > 2. __libdwfl_frame_reg_get/dwfl_frame_reg updated with r

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
Thanks for the review, Mark. Re-pushed a patch for it. 1. NEWS entry added. 2. __libdwfl_frame_reg_get/dwfl_frame_reg updated with return int. 3. New DWFL_ERROR added: REGISTER_VAL_UNKNOWN. On Thu, Jul 21, 2022 at 10:32 PM Mark Wielaard wrote: > Hi, > > On Tue, Jul 19, 2022 at 10:21:21PM +080