Re: [PATCH] debuginfod-client: restrict cleanup to client-pattern files

2020-02-12 Thread Konrad Kleine
Hi Aaron, this looks good to me. Thank you for taking care of the tests. - Konrad On 11/02/2020 21:54, Aaron Merey wrote: > Hi Konrad, > > You're right, it's better to include a test. I've added one to the patch. > > Aaron > > On Tue, Feb 11, 2020 at 2:01 PM Konrad Kleine wrote: >> >> Can we

Re: [PATCH] debuginfod-client: restrict cleanup to client-pattern files

2020-02-11 Thread Aaron Merey
: Tue, 11 Feb 2020 15:48:46 -0500 Subject: [PATCH] debuginfod-client: restrict cleanup to client-pattern files Avoid deleting general files and directories in case a user mis-sets $DEBUGINFOD_CACHE_PATH or accidentally moves a file into the cache. Signed-off-by: Aaron Merey --- debuginfod/Cha

Re: [PATCH] debuginfod-client: restrict cleanup to client-pattern files

2020-02-11 Thread Konrad Kleine
Can we have a test for this? 0xC0A02C32BCB73099.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

[PATCH] debuginfod-client: restrict cleanup to client-pattern files

2020-02-11 Thread Aaron Merey
Avoid deleting contents of a general directory in case a user mis-sets $DEBUGINFOD_CACHE_PATH. Signed-off-by: Aaron Merey --- debuginfod/ChangeLog | 5 + debuginfod/debuginfod-client.c | 13 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/debuginfod/C