From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MHkl++BA" Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B52E6107 for ; Mon, 4 Dec 2023 14:17:08 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d0897e99e0so11337345ad.3 for ; Mon, 04 Dec 2023 14:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701728228; x=1702333028; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=hFGpzU5KwhNmr20zuJNlExzeMs3xxo7WpAsEm8UJ2O4=; b=MHkl++BA9bNNxE03haUv5jX4phvwJSFojRNF0vrQiUp9gCuRK0sGZWbzCJS16xRI2Q z9G12BrxasH7B+BArcwnXU9inz8mPoCQYTBhvVSVwkYcabqRNj3Z2laLK5fI10rGju4O qnkvq+Ce+DwQmSlhzuVT6QcEHVMfM8Bh9uWcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701728228; x=1702333028; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hFGpzU5KwhNmr20zuJNlExzeMs3xxo7WpAsEm8UJ2O4=; b=VIQNP3DwS12iwztipN2lH1Bt+W+hQL+LMRsaX2UaP4uakjwQMbS0hu+ljmW9CB794s 2/UNhV2IUEWdBP193/zeuxirj9/qPN142p5KCSv+F+cRQLLSRQ/0HEuU7DcUde29rl8g nCkGnYvPsw5ScCvRBQ8/RPTUjlKqr/wmogey/lZ52i+ZtKOGvRDwv4DXRBAEx2DxbcFT WE90/foCqrLjU6nnn0z8066FLniCJ92xU8zQGd0iRH2uG7NUlWg6G5K16AuD8xjvZ8gt GNclJ0NRihLxQoPveC5WPEufbmOCZoBvRObRi4CaZZR3D2AdL8COIvWouxgCKRQppQCN cj5Q== X-Gm-Message-State: AOJu0Ywkg04m3AHeDAyW53xRC5sxsiO3co6Tw9JevdZq7MAmjcSSIPfQ Ln5VFa5vk1080bP6uPP/7Mkt1g== X-Google-Smtp-Source: AGHT+IGhVQvjJ/un+BNNpI81xkQ/mxT2N3RFluRNHrDTDZt40pDlkYkg5OMdQ3g5vmIN6SN8Nk525w== X-Received: by 2002:a17:902:a585:b0:1d0:6ffd:ae15 with SMTP id az5-20020a170902a58500b001d06ffdae15mr2071582plb.124.1701728228199; Mon, 04 Dec 2023 14:17:08 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id f6-20020a170902684600b001cf5d4f8f26sm7124981pln.248.2023.12.04.14.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 14:17:07 -0800 (PST) Date: Mon, 4 Dec 2023 14:17:06 -0800 From: Kees Cook To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: "Gustavo A. R. Silva" , Luis Chamberlain , Iurii Zaikin , Greg Kroah-Hartman , Joel Granados , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 12/18] sysctl: treewide: constify the ctl_table argument of handlers Message-ID: <202312041416.9336746D3@keescook> References: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> <20231204-const-sysctl-v2-12-7a5060b11447@weissschuh.net> Precedence: bulk X-Mailing-List: linux-hardening@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231204-const-sysctl-v2-12-7a5060b11447@weissschuh.net> On Mon, Dec 04, 2023 at 08:52:25AM +0100, Thomas Weißschuh wrote: > In a future commit the sysctl core will only use > "const struct ctl_table". As a preparation for that adapt all the proc > handlers. > > Signed-off-by: Thomas Weißschuh Reviewed-by: Kees Cook # security/* -- Kees Cook