Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp745637iol; Thu, 9 Jun 2022 13:05:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4VJ2dlQJguqIKwZSx/WpmyoTQpjd/PmkpjB6UmAJsoD9KURKrKxcArU7vXtELt2gyQjIF X-Received: by 2002:a05:6402:d05:b0:425:b5c8:faeb with SMTP id eb5-20020a0564020d0500b00425b5c8faebmr47428176edb.273.1654805125763; Thu, 09 Jun 2022 13:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654805125; cv=none; d=google.com; s=arc-20160816; b=dyRDSe6XyMt213abjxIiFg9oUvhKNWJpwmMDmOC6cvzdzHT/FAEkWtjDlXqAKRYjE7 hrYc6IPComKx+cJlM9z0BVpDnr/E8GWihNpFNT2VyJ2BJx+L2NodY/bdJE842vAouNAK 1tUXlYJDiXfsM3eAW3no82/pTFt+M/+iI4n8/ItB6BlFhuPbWs56hT4VqFbTv2bhFc8w PBL2Lnbwm6XqwuQJJUnhCEaqIad80aOJ2CN1VLGVLsr2e3pWRRQrUwYFx7h16Z/nw+/Q YHxPbyh1eUw0p9/VuXjLJQ/mrlI9IfPdOFD+Leeb+NuYpngJO54VGdDOmkQ0Q4RgfwMB bW7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=Rb9tlzPngQc+rX5AhQJTbl4RHridOOHA3gS0rkPMSlQ=; b=uBjxxzmtABxUsYIXBvQ1M4k8WvZEiIOhCsjJ9tFyAthNI/t6LvT3XT5+jfJqFi6Pcq n2xYGWpkYTf/KGScR9IcsJTx8yJrL1aZCo6fMoTM71r3Rzt1+4ZnkIvOdFaEB4ZsvLmi u/zmZv118PtRzKuKJP16Jc2+osOGTHI23KrIyOB7pBWkdTELNH3ySAe0dJrVSzdFnQRq 4+XEIDJet/LVuwiu4/c51bYvqKzuEBvojfJm2ELeIrnu1GXmFoFXf7AA/ekrrkPZF82p EhSm3hGVfHfsfJeRlVBDoq8c6btHSBWPyt3858bQwgAxWgMHbaoeuQw/QLgUlVNBNfUM wEOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dHx5ytan; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq4-20020a1709073f0400b0070791e500aesi22409728ejc.379.2022.06.09.13.04.53; Thu, 09 Jun 2022 13:05:25 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dHx5ytan; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238825AbiFITT7 (ORCPT + 99 others); Thu, 9 Jun 2022 15:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238913AbiFITT6 (ORCPT ); Thu, 9 Jun 2022 15:19:58 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4479A30B6F7; Thu, 9 Jun 2022 12:19:57 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id n11so3275711iod.4; Thu, 09 Jun 2022 12:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=Rb9tlzPngQc+rX5AhQJTbl4RHridOOHA3gS0rkPMSlQ=; b=dHx5ytan2J4985qxHHdqDVe/9dP+JyQnFYBn5riww//Vkc+tYRRGhgenEkeIBkW12U Xr8LYFePBHLuqSyXP04xo2Fq0Tir8n+ZXwpDADc0P3TqXxTns6yncx47OqUfP2TMOZ8m JwwmYX4YwPkjxEsm2O7ej1PfQExr90eOsHlBZFxSJ4zmz0seGtGdKQ2lq125agXdYPyy 785ECZQAOnYVgnERefSTIo+LJhIUZyd59en692oPlg3J8G3jrihLhcJav3tsiLgGOlBW GmiC2tw8aD5+NSELdrOoI7S5MUtflkFXBl0BYHMj/PlUa1RP5SQ3+jRnVTp75axb2mUw zcpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=Rb9tlzPngQc+rX5AhQJTbl4RHridOOHA3gS0rkPMSlQ=; b=jRJDrGy6+9HnrvUxY32Z09UjNsplEiNoAGRbQFO4/sSLtEfVDnPCXEIOorM2iGVZ1T sFWvf7Lpym3eNL8wuDJkTqOAug8/h5bcBKqEBgLMyry8SlmGTRsUJjTOL87vC7/lmCWT kbwR6JtcSfXDIP75aKbpv7rWlXeHzytxBKyeJRbt9K4zHPISQCgWKuB3Mq+76i0eKnVJ X7piND/o5ySmx5d94Pjvv7FkluXIZmUqQq2djmxyzsQFEy86HsCKh+uzpt1L/402f255 3Uye3+7OTdPfutojQC9hyTtfPtorOxQHuSEYHz68SbyHLr6F/FYlf5T532En7TjWq1QS cpVw== X-Gm-Message-State: AOAM533qosmHPzBUbr1wVmWMoa0OdWs04+avrOD1X0dALRs+WY6DzSMd RWFG9E8nCflcpmj6NaVLUcY0tSWYpxQ7eZczv0I= X-Received: by 2002:a6b:3ec4:0:b0:669:b9e6:cd97 with SMTP id l187-20020a6b3ec4000000b00669b9e6cd97mr524510ioa.128.1654802396611; Thu, 09 Jun 2022 12:19:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Thu, 9 Jun 2022 21:19:20 +0200 Message-ID: Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x To: Linus Torvalds Cc: Kees Cook , keyrings@vger.kernel.org, Linux Kernel Mailing List , Salvatore Bonaccorso , David Woodhouse , David Howells , Tasmiya Nalatwad , James Bottomley Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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. -Sedat- [0] https://www.youtube.com/watch?v=mVvr6PKUoEs [1] https://release.debian.org/transitions/html/auto-openssl.html