Re: [PATCH 01/10 v3] libelf: Fix deadlock in __libelf_readall

2024-08-15 Thread Mark Wielaard
Hi Aaron, On Fri, 2024-08-02 at 19:38 -0400, Aaron Merey wrote: > From: Heather McIntyre > > Apply locking during __libelf_readall. > > Signed-off-by: Heather S. McIntyre > Signed-off-by: Aaron Merey > Signed-off-by: Mark Wielaard > > --- > v3 changes: > > Update comments and change order

Re: [PATCH 02/10 v3] libelf: Fix deadlock in elf_cntl

2024-08-15 Thread Mark Wielaard
Hi Aaron, On Fri, 2024-08-02 at 19:38 -0400, Aaron Merey wrote: > From: Heather McIntyre > > * libelf/elf_cntl.c (elf_cntl): Move rwlock_wrlock, rwlock_unlock, > inside case switch statements. Remove unnecessary early return. > > Signed-off-by: Heather S. McIntyre > Signed-off

Re: [PATCH 03/10 v3] lib: Add eu_tsearch, eu_tfind, eu_tdelete and eu_tdestroy

2024-08-15 Thread Mark Wielaard
Hi Aaron, On Fri, Aug 02, 2024 at 07:38:02PM -0400, Aaron Merey wrote: > From: Heather McIntyre > > Add struct search_tree to hold tree root and lock. Add new eu_t* > functions for ensuring synchronized tree access. > > Replace tsearch, tfind, etc with eu_t* equivalents. > > lib: > * Ma