Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp762814iol; Thu, 9 Jun 2022 13:30:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyClx6d+G4g4AQ4mdX/nmOAomEE1zZb1Mp1tKN41tFvZJPd/kIvbqLgiGBhnHeoUhfTAO+e X-Received: by 2002:a17:907:7f20:b0:6fe:f0c8:8e6f with SMTP id qf32-20020a1709077f2000b006fef0c88e6fmr37398907ejc.453.1654806604374; Thu, 09 Jun 2022 13:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654806604; cv=none; d=google.com; s=arc-20160816; b=I2UpQKnB/nIX2Hh497TzFpuziFUb7KcPGVyZDIrrip3MTkb0risAMeJ/95i0plQz6J wNik0c+XpZ2t8Nl9HuIQeXn0PIwpxlfqr/SIexKNCjVITDn9WYQ1ZDM1bstq3BnTSw4i fXVWcEbrZQe7V2DiBTEIaTEn54CRazyr/9Hio5zFS0hSdKb7U/FpfL+vt2VSFxAa4W7W p9PmoltPt61MEFPpH/2BEdv6O17mhY8LYbCDO8Ym9ixYo9qvpLLGRcLQshqf5nJqc4Gp 5Shh54TleJO1p1uQR8tl61o3oPwPBOtQDpzTK0jz3p57wZolx+cO3TWYTdr6MhqcMoX1 mmjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=92wbqYRhg0KL6g6hDx9emDXGwK7SnBezpwjVZUGNrQo=; b=Qh5anv2PR2UFN1pNDuDCLadaqYE9Gbx8ieyoM0H8NvKXMh5BmsFD5mOCObj+MvT0rw 0jpDr/A4z/VYbbE0ldAmWQ9lkQzeM8GTuwNH8DB1fd670ekozNCJiPato3BSyaYEkrdW ydfuHrGZyYF6AwShvwma4MEfq50gcwrw/XRvzm+fzzPJ1AkVWTRwhCM4zqUDb/OLk1eq tFAZKAbDKGyIhK6Kz5G4C12WW8//qiaE0IEG0uPe7f9++G9u9fy2tt8lQoXDKzfE6WGe A2lcfFiWuPK8C8ZRCGuZUr69QKjDbp43QOC46iS5gE1lkr+64eKvCF8fUZAnYWjbSBU/ Jsbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a50f0d3000000b0042df07451a2si18068597edm.253.2022.06.09.13.29.38; Thu, 09 Jun 2022 13:30:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344249AbiFITXm (ORCPT + 99 others); Thu, 9 Jun 2022 15:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344809AbiFITXg (ORCPT ); Thu, 9 Jun 2022 15:23:36 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DEAD01F4291; Thu, 9 Jun 2022 12:23:33 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 259JN8D5010797; Thu, 9 Jun 2022 21:23:08 +0200 Date: Thu, 9 Jun 2022 21:23:08 +0200 From: Willy Tarreau To: Sedat Dilek Cc: Linus Torvalds , Kees Cook , keyrings@vger.kernel.org, Linux Kernel Mailing List , Salvatore Bonaccorso , David Woodhouse , David Howells , Tasmiya Nalatwad , James Bottomley Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x Message-ID: <20220609192308.GB10732@1wt.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 09, 2022 at 09:19:20PM +0200, Sedat Dilek wrote: > On Thu, Jun 9, 2022 at 9:05 PM Linus Torvalds > wrote: > > > > On Thu, Jun 9, 2022 at 11:41 AM Sedat Dilek wrote: > > > > > > Why go back and forth... do it like Alexander the Great and the Gordian knot. > > > > > > Sword - Swash - Done. > > > > > > commit 6bfb56e93bcef41859c2d5ab234ffd80b691be35 > > > "cert host tools: Stop complaining about deprecated OpenSSL functions" > > > > Well, it's not like that is the *right* fix. > > > > But I think for now, the answer is "leave it like that until we can > > just get rid of the ENGINE API entirely". > > > > I absolutely detest the "deprecation" warnings. We used to do that in > > the kernel too, and it was a complete disaster. The warnings are very > > noisy, and nobody ever cares about them, so it's simply not worth it. > > > > So we deprecated "__deprecated" in the kernel itself: > > > > 771c035372a0 deprecate the '__deprecated' attribute warnings > > entirely and for good > > > > and I don't think we should care about it when it comes to OpenSSL either. > > > > Eventually, that deprecated interface will go away entirely, and by > > then we hopefully don't care about really old openssl implementations > > and will have gotten rid of the uses. > > > > But for now, I think putting our head in the sand is actually the > > _better_ model rather than fighting some battle over old vs new > > libraries. > > > > Because sometimes, if you ignore a problem, it really does just go away. > > > > To be honest: I like your approach, Linus. > Very pragma-tic. > That's why you use pragma's in your patch :-). > > I invested too much of my lifetime in making things work "correctly". > And yes, it's post-rc1... > > Most of the apps in the Debian world passed the OpenSSL-v3 transition. IIRC you can also disable the deprecation warnings by defining the OPENSSL_SUPPRESS_DEPRECATED macro. It doesn't require to change the compiler's options and allows us to put our head in the sand. Willy