Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp417862rwd; Tue, 30 May 2023 23:31:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5hYiUaPgTjkVrUdqhPjtOwm22hV+2biY+tlU1G795xq4bMtq7nVHL2UiG3SF1yAnX9f9Rk X-Received: by 2002:a05:6a21:999d:b0:10e:dc7d:cbbe with SMTP id ve29-20020a056a21999d00b0010edc7dcbbemr5196713pzb.25.1685514665435; Tue, 30 May 2023 23:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685514665; cv=none; d=google.com; s=arc-20160816; b=M5fyRZeXPRXZDf1wRQNnS23fDF5nkPQA54fn2DzW9yonUqQJ1SqNfNEyCmZmDNHydI F4jmWkj8eA/yQyj+2Ux/Bjjsa7/tsVvGOqn1QYDl9LI+BqNAMJs8s97+0GA/N7Vp/hYZ hi2F42rkuq7/fQ08gDY1DdDX0ra3Penp5LoqduTZQWfXcIBE65P17nkkLCCX5cPeUDtN lu0sPf01FktPmJP2cPkXhDuNxCXD9xnP/Y/Jg8evH/iBL11dcwp1hLuURqRL4+ATrN8s 98sXTsiYud/iB23W+uU5lB7Cv7oxdAimil2488lgu3K6jMVYASKLOce5tvUe0ILmgSrQ sEhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=UrlXmiKHLrQvQXbtXN/E3/YLwBlHzRkjAmRgS02xHw0=; b=EzvjmS43jfOKIhsJAs3wb4LLPUXvklNsk421hDZgslx80d5MiTOHJT3GAm7jTddSoC 1QIKW5iOV9HpWIEOMpvQRMPD1+ju8rjdgW80+ZJeGYgT5a8fTP4a+5apG7Y62fV5XU+s Y+LUF1mk9656n/rRH50Qt9wC2lwq8/nzKuwxg5k+95jLL1UJbDEt6yMiFSoxxHvYKkIF Qu2a9TU3GgSRZch6P4RWBXajDB/cByYce+WjNoBsblN8+ZfLPO7MiuW+zxa8tXuQ5VT5 Fa2/rpLReyIcvYVD0VEmi4Kh5Na0Byk8mLjEEvNPUoyChET6ReF8mLRY34dWoYeFT3ZH Q/Ww== 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 x27-20020aa78f1b000000b0064e250e1e64si3078869pfr.172.2023.05.30.23.30.51; Tue, 30 May 2023 23:31:05 -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 S231922AbjEaGXg convert rfc822-to-8bit (ORCPT + 99 others); Wed, 31 May 2023 02:23:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbjEaGXf (ORCPT ); Wed, 31 May 2023 02:23:35 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 391529F; Tue, 30 May 2023 23:23:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id E454A63CC10C; Wed, 31 May 2023 08:23:20 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id L1MW3AYx1K1h; Wed, 31 May 2023 08:23:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 9E3CC616B2CF; Wed, 31 May 2023 08:23:20 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sVKUU-jUg0rd; Wed, 31 May 2023 08:23:20 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 7EB866081100; Wed, 31 May 2023 08:23:20 +0200 (CEST) Date: Wed, 31 May 2023 08:23:20 +0200 (CEST) From: Richard Weinberger To: Kees Cook , Azeem Shaikh Cc: kernel test robot , Maxim Krasnyansky , oe-kbuild-all , linux-hardening@vger.kernel.org, linux-kernel , anton ivanov , Johannes Berg , linux-um Message-ID: <103925562.158061.1685514200368.JavaMail.zimbra@nod.at> In-Reply-To: <09A0C6FA-669F-4B73-9620-43AEA17E5D0C@kernel.org> References: <20230530164004.986750-1-azeemshaikh38@gmail.com> <202305311135.zGMT1gYR-lkp@intel.com> <09A0C6FA-669F-4B73-9620-43AEA17E5D0C@kernel.org> Subject: Re: [PATCH] uml: Replace all non-returning strlcpy with strscpy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: Replace all non-returning strlcpy with strscpy Thread-Index: /e3HVPBWZ39oPFmlPQoqSK9b5wqRFQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR 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 ----- Ursprüngliche Mail ----- >>>> arch/um/os-Linux/drivers/tuntap_user.c:149:17: error: implicit declaration of >>>> function 'strscpy'; did you mean 'strncpy'? >>>> [-Werror=implicit-function-declaration] >> 149 | strscpy(ifr.ifr_name, pri->dev_name, >> sizeof(ifr.ifr_name)); >> | ^~~~~~~ >> | strncpy >> cc1: some warnings being treated as errors > > Ah, yeah, this is another "not actually in the kernel" cases. Let's ignore this > strlcpy for now. Well, actually it's another case of "not even compile tested". :-( Thanks, //richard