Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp637830ybk; Wed, 13 May 2020 09:07:45 -0700 (PDT) X-Google-Smtp-Source: APiQypIKzEBzT1RZRzxwtyKpBA3zwB2VxzgeykfVhnk9EPvAprhVlqHYzCJSNXHz1OCcowA0TLoM X-Received: by 2002:a17:906:3952:: with SMTP id g18mr23554625eje.191.1589386065470; Wed, 13 May 2020 09:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589386065; cv=none; d=google.com; s=arc-20160816; b=OiiX+hqqtDk41KTFLXCggsvmUzRpDPqRbtKrApE86qT1ONse2690TdqlInf8JbiYUF az/b4tdBixTJlES9wnj3IXK2is3R/LuvFhZUiYj7GqH9WkTKghpw/DiBqMicKSIqsZx4 shAEt0ePi/6xp58QQWTkWaqJgtHgbtZ80sM+u9hJkrBIRLENHjHsJ9c5r9d+Vp60W1xz 4dejM3qmMWTWc7SVBN9aPd8bZ3RG+0OwPWZoLZm8L/3+t3dS+gMThwvKwqc7q6okKns3 C+kDFWG0T2pcaEONyChESoQKhihFkdN9Ugf0d+K3/sUuqa7429aGWtEkP+JodsqqCyNS m49Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=81hDLaNsDP1XezBBCmTYO/9RleZtnLgOrYL3Jzc5rEw=; b=Muq5lB2qNy2sQoxp6qJsCsT32AB9sqADzlLUjwwkq1MtwPTHU9BGrmv8CdGglnpwCr uLsEiuW+IaiQ/lZIuHhV/Vb5YecWUOgZpWKTBR//dLSYb9RkCYBBHxAQH5AfQpkR1EhI kHiazbsvhXG/0Q/bhraxyGl1TCpj05VNmaA4XXRoxDlD7J4zp4nQLMNbK5n+stPKxKCZ lvXFdIXGihNKrXY40KhZYHPiUl6EgFUjqpfmN86cz0dglzWV1DIi6P2u9nZCnqbDIEbl ldLBf5pw2fsvC1CiwlRJ7QVrdTQkhUHP7zUYKRqwO9r1iqDW/Y1Kn6a/E4tMlFfrkBiy ucOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ikkl1NyD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn1si17769edb.126.2020.05.13.09.07.22; Wed, 13 May 2020 09:07:45 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ikkl1NyD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389220AbgEMQAr (ORCPT + 99 others); Wed, 13 May 2020 12:00:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729561AbgEMQAp (ORCPT ); Wed, 13 May 2020 12:00:45 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07851C061A0C; Wed, 13 May 2020 09:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=81hDLaNsDP1XezBBCmTYO/9RleZtnLgOrYL3Jzc5rEw=; b=ikkl1NyDNT4ANKaumsZ6DItD/a f1GnBNaOz5ksoCJIu1tuOaIHNbkxzGPjXff1v7YH4QamfW5RiT/tln3ksBp8a0lkjOumJUshYy1fI kkae1/hbFGDEK2OcsaCUkAanrGFZMrRA36p/8oDHlCaaWNAzCJ7OgbFMHbXQ0usSjrZvIhG8Hihav EH+plxKBn4m1UZGIbJk0myNeMzL1XMP2A16j2rCAxD3uB1UK9h0DTKFDuI61+a36btwWjnRmco6Df qc8IybRg/jfzh7WMiOQo42FjkMYWmH111KFxVcLkUUPN15EXeUOWs6Jb86V/79P8r32OvHU8zos0S Dc9+ylSg==; Received: from [2001:4bb8:180:9d3f:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYtoJ-0004g7-7D; Wed, 13 May 2020 16:00:43 +0000 From: Christoph Hellwig To: x86@kernel.org, Alexei Starovoitov , Daniel Borkmann , Masami Hiramatsu , Linus Torvalds , Andrew Morton Cc: linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/18] maccess: unexport probe_kernel_write and probe_user_write Date: Wed, 13 May 2020 18:00:21 +0200 Message-Id: <20200513160038.2482415-2-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513160038.2482415-1-hch@lst.de> References: <20200513160038.2482415-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These two functions are not used by any modular code. Signed-off-by: Christoph Hellwig --- mm/maccess.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/maccess.c b/mm/maccess.c index 3ca8d97e50106..cf21e604f78cb 100644 --- a/mm/maccess.c +++ b/mm/maccess.c @@ -121,7 +121,6 @@ long __probe_kernel_write(void *dst, const void *src, size_t size) return ret; } -EXPORT_SYMBOL_GPL(probe_kernel_write); /** * probe_user_write(): safely attempt to write to a user-space location @@ -148,7 +147,6 @@ long __probe_user_write(void __user *dst, const void *src, size_t size) return ret; } -EXPORT_SYMBOL_GPL(probe_user_write); /** * strncpy_from_unsafe: - Copy a NUL terminated string from unsafe address. -- 2.26.2