Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1268685rdb; Fri, 19 Jan 2024 13:38:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNUAP20YMxg632+6Y+I1LhX1PTsz0R26b29WD3fcK51Y8+lFOvBhqsy7bmcz6z5zGNhnBO X-Received: by 2002:a17:90a:e2d6:b0:28e:8012:1329 with SMTP id fr22-20020a17090ae2d600b0028e80121329mr393581pjb.23.1705700338112; Fri, 19 Jan 2024 13:38:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705700338; cv=pass; d=google.com; s=arc-20160816; b=vSgEy5H5cvZEP+2tEsniEgOZtP69ya9Yu95wPIQHuI+tPb1GEtkaL7sJmrKwnZ49z3 4WzeZz0wOsLgYByhPxFRIdKLMGQv/jtYAvg+GhBDvkcl2LG0OAensZLhpbUm+08e1ysl sO4B6oXJV3qkBSC1zxxq59q20rKUswYxu8FGSq5Q2P/MhIKIOUrlRYEr5M6YwO7QJUZg i0HtOt8Z1bqGo1GQ6sCvt24wryqr/bHOTPwcLhBYQDakbkFKELsPfPMWDvyHUChAn9ck A2j54CZpl4Fg9K4MZ1fyEc7Yc5LoEvYLeS0oi89723lUB77N3nIoEdtglWOnIH4tBk0b 1R1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=UAbL9wbnppZtI5fUhZ/5EUcMSGPKwMXW23z8Y2gBPo8=; fh=MWN/1RBS8cm2Qrt0hrf0rP5ZqminKslODjbwwMz9ud0=; b=MR1iS1Q2RJxeLXFMK9BZYVRlWKPDLdhX6Y1QhoEmUaj0m73Jx9QZb5A5uTc3fIpzPs 4Vk8UL1AspbyzuY6h2fKqMEOV3eBoF238fj6Bobi/+YtnvUgkNa/bogBywR2UySw7vYp c3wgpv9CbFUykCEGx5mhjlqlaYksQb9bIu9xkT9OPRhZ6BcZX8yEKT/ygw8MLdI3qcsl HAHUmm0l9dYsi1H459zA1YEw7wfK37gdN3wr14C+cikKqm8aL0BVbjriLIa0VYRWfLYX QhhkC4xbS0tEabfOeIG2gUYkOYxAVUA39CYYR+XnDprlaUcjFFyw30y6NJS8yAP51MJs GbTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TNhLAnRj; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-31584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31584-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id nv7-20020a17090b1b4700b0028cd99189cesi4038488pjb.81.2024.01.19.13.38.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 13:38:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TNhLAnRj; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-31584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31584-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0D905B23C40 for ; Fri, 19 Jan 2024 21:38:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27EF058229; Fri, 19 Jan 2024 21:38:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="TNhLAnRj" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1CB15813B for ; Fri, 19 Jan 2024 21:38:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705700329; cv=none; b=RqdKea2kW/x4z/lLOG57j8S8OTH4iLGoBHyS8b2QF9OCaSV/D3r0dtrzBw89XYNv0MiFI3ck+74RsVvFEboIMAiWoNfR4O5qQxi5d5nSuRMZvMTOZ4yEFXd72gtcTWo1c58FZHUqLVpmSI85LgS+YwK1YaEPvfh965GSPUKJhKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705700329; c=relaxed/simple; bh=W3FRUxqFfqkAAE7fKkvKGEQPKlvJdYnKO2tiU1ME70s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M89ZZv1jSg0ZvHfXv7AKpnNd33EdYSBZZfBLTRvdAIRmUo53D5P9rzJBiDKMYKmf/JdBYcGjXRNU+ei6YswEa30TMby1AqVh1KnbeftgKtdyKamvhzMlu90yOmTsrh9KXdb1fXZvS2oIJEDYGUp//Fa+iGsBwcF1giqjnfcacZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=TNhLAnRj; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Fri, 19 Jan 2024 16:38:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1705700326; 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=UAbL9wbnppZtI5fUhZ/5EUcMSGPKwMXW23z8Y2gBPo8=; b=TNhLAnRjBJyQWjuKi3f04hZTB+lVms2Ew9yzGr/DgLfGSiuQc0RbfW7q/5ijW4kIL0K6KF 3NMesZBxd6BvMN6ISR5ocDh9ZLYxkwtPCygrdydaA8DtnmZ29JRU7RTuRjmglAdA2Xe70N kuFPjfQNwZ6VYYbp49EAT0W6/UFPpDA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Kees Cook Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Andrew Morton , Andy Shevchenko , Andy Whitcroft , Azeem Shaikh , Brian Foster , Dwaipayan Ray , Joe Perches , linux-bcachefs@vger.kernel.org, linux-hardening@vger.kernel.org, Lukas Bulwahn Subject: Re: [GIT PULL] strlcpy removal for v6.8-rc1 Message-ID: References: <202401191311.B6AA79D@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202401191311.B6AA79D@keescook> X-Migadu-Flow: FLOW_OUT On Fri, Jan 19, 2024 at 01:14:55PM -0800, Kees Cook wrote: > Hi Linus, > > Please pull this strlcpy removal for v6.8-rc1. As promised, it is the > "part 2" of the hardening tree, late in -rc1 now that all the other trees > with strlcpy() removals have landed. One new user appeared (in bcachefs) > but was a trivial refactor. The kernel is now free of the strlcpy() API! > > Thanks! > > -Kees > > The following changes since commit b0d326da462e20285236e11e4cbc32085de9f363: > > Merge tag 'sched-urgent-2024-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2024-01-18 11:57:33 -0800) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/strlcpy-removal-v6.8-rc1 > > for you to fetch changes up to d26270061ae66b915138af7cd73ca6f8b85e6b44: > > string: Remove strlcpy() (2024-01-19 11:59:11 -0800) > > ---------------------------------------------------------------- > strlcpy removal for v6.8-rc1 > > - Remove of the final (very recent) user of strlcpy() (in bcachefs). > > - Remove the strlcpy() API. Long live strscpy(). For the bcachefs patch Acked-by: Kent Overstreet