From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id CFB5E3858401 for ; Thu, 1 Jun 2023 14:58:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CFB5E3858401 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685631493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PjeCC09NVBm0ws04w+1jNbTtf/8qwW8LRlQJFU8feiw=; b=FPwd66OqQHdjhAYGpOO3V59TA2pIJORuN7VSpUB1FiH4T56QZTYUJHou4Db1N1EkrO3kyA sIMC13WS+L80QN068I5/vt4R2g+/1HRc0TR7g+eQ3TPjoXXGL+wzVVdhTTR9nCaZo6enoV V7mlES3uR3WqHfVMf3aGsKJOIeeSuyw= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-67-W7BHNOCeNfW9LaGWTQdBwA-1; Thu, 01 Jun 2023 10:58:12 -0400 X-MC-Unique: W7BHNOCeNfW9LaGWTQdBwA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C41AB3C0F420; Thu, 1 Jun 2023 14:58:11 +0000 (UTC) Received: from redhat.com (unknown [10.22.8.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B5C8620296C6; Thu, 1 Jun 2023 14:58:11 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94.2) (envelope-from ) id 1q4jkg-0000RX-UA; Thu, 01 Jun 2023 10:58:11 -0400 Date: Thu, 1 Jun 2023 10:58:10 -0400 From: "Frank Ch. Eigler" To: Daniel Thornburgh Cc: elfutils-devel@sourceware.org Subject: Re: Local Build ID Directory Lookup (DEBUGINFOD_LOCAL_PATH) Message-ID: <20230601145810.GH26841@redhat.com> References: <20230531223555.GC26841@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi - > So I guess, sans the format, the feature request would just be that > it would have a shortcut for file URLs to produce the path directly > in response to e.g. a debuginfod_find_debuginfo, rather than making > a copy of the file via libcurl. A compromise solution could be for new code to produce a symlink in the .cache/debuginfod_client directory that points to the matching file:// bit, and return that symlink name/fd to the calling app. At future accesses, the client can determine if the symlink is broken and reject/unlink it. - FChE