Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp842488ybz; Fri, 17 Apr 2020 11:01:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJQRC4QpQpQoxYeoOTsxDDQ2Ru93Es4wQPu6pKabxRCAK2sFEj3RVQYuLW7+uBfGZGLSUgj X-Received: by 2002:a05:6402:1215:: with SMTP id c21mr4372114edw.128.1587146517884; Fri, 17 Apr 2020 11:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587146517; cv=none; d=google.com; s=arc-20160816; b=sRmpoKBOwWF/pW1l4BPD9wkaVkhU/aA+hEUdWDL1NkYbB5tZPXE6ncqzmYf5QhSdWJ BVXAcBV2wFasy1krTNtISoYfIxU1KJqqONuvY6xASfEQuI1fucqMsbg+Ji/3lgEv0vGS ON8X/gpeYGnJv4yQqMq6TNisefydL5fryJKmLWulBnIP0IPicpSQYYGkqfI6Jzy1DfRW h6fUOgtAS9tn79pE3trc+89p54Fi4/+ZQk0Ci7tY9wlz32UN7EKRtmObYRHSgJnNhMY6 Cdk9YWk8NBwsFSKdgKWWRGTMEzD3NcKeCOGxLHIirkvx13B6m54r4OPhiisf1MdZpZYY ESTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=IjZCkEIb+6WDJxMusK/HPrzk4lilNygCHu7ICADzBDI=; b=zpXZC4tSlhY+ft/Eyqa/3/6TZKYhEPvfRZoGZK0vCQBr33Hx9bMBbluWwLb29IUeKY UuqB4/1bwawJjCyVDODs9x9O5dMxqBl57JO5SysgKv0RmumOzTLrSbz8PumcSAlVZtux jLaLZtLlr/6ROWfBw31XvTivgo/atiWAvwpV+Uky8hmYapqUvLNbEpN58lTOOzbiEk4f +joHlLe+VPE89O9UCpQFqDSKpv95lwa8X97ZyydL4suwsOjhRWzOg0uYujc/CgHQkmC0 rAqJL0Kuumf/kbB+eo6du2BMWCSU/8R0XLYGh0RzYUKUUGwWKPjfpzlyqgbY98PerLSe K4cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si14407677eds.336.2020.04.17.11.01.32; Fri, 17 Apr 2020 11:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730296AbgDQSAE (ORCPT + 99 others); Fri, 17 Apr 2020 14:00:04 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36019 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730033AbgDQSAE (ORCPT ); Fri, 17 Apr 2020 14:00:04 -0400 Received: by mail-pg1-f193.google.com with SMTP id o185so934540pgo.3; Fri, 17 Apr 2020 11:00:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IjZCkEIb+6WDJxMusK/HPrzk4lilNygCHu7ICADzBDI=; b=IGH6++I9jAMejicRypWgjx4pPu3K5W7q4CxqscWb9f4ondGixa4MKwA+aAnJySEkXl TOi7QIcRD/3wi3M8IQHp4koL0fOo2xAkJ9S/V9FHA5zEr050kumUuERoL0LBrBH6LSFd itNCbKuRzhGOSbrOWjoFI+Ign1CPpTcSDJxno1yWSsCikHKiNLmNIuoUdPV4p91TqO9x qBL5Emf1OwLoJOCrICj0VCGHcCgEk1eXYMvELwD4c3HFK9RFCCoJ74sW3FLNHB+f2SO0 GdZ99UsBXz3xqOv300006/JpqtIXS3LLzS5qBMZE+ZLso6x4ssvI3kNHgk08Try99nSI FIPw== X-Gm-Message-State: AGi0PuabiS7KAiRL5tTXTQTkGgemExhKpCtYT2lyLnI6HXnPaoK9bBQW 98R3UqaH+DN0FYUwFjKhtyw= X-Received: by 2002:a62:1415:: with SMTP id 21mr4395722pfu.134.1587146403237; Fri, 17 Apr 2020 11:00:03 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id c3sm6178665pjc.43.2020.04.17.11.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 11:00:01 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 256B94028E; Fri, 17 Apr 2020 18:00:01 +0000 (UTC) Date: Fri, 17 Apr 2020 18:00:01 +0000 From: Luis Chamberlain To: Christoph Hellwig Cc: Kees Cook , Iurii Zaikin , Greg Kroah-Hartman , "Rafael J. Wysocki" , Alexei Starovoitov , Daniel Borkmann , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: pass kernel pointers to the sysctl ->proc_handler method Message-ID: <20200417180001.GW11244@42.do-not-panic.com> References: <20200417064146.1086644-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200417064146.1086644-1-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 08:41:40AM +0200, Christoph Hellwig wrote: > Hi all, > > this series changes the sysctl ->proc_handler methods to take kernel > pointers. This simplifies some of the pointer handling in the methods > (which could probably be further simplified now), and gets rid of the > set_fs address space overrides used by bpf. Reviewed-by: Luis Chamberlain Luis