Message ID | 20191009191044.308087-23-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1174510ill; Wed, 9 Oct 2019 12:14:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfIQLkJgA1/vRDpGVADTr3ggJ87gUlJIXuO0U3No8WsQoEkoxoM1yDSXjxbD6bwvxLIewM X-Received: by 2002:a17:906:8315:: with SMTP id j21mr4455209ejx.244.1570648475835; Wed, 09 Oct 2019 12:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570648475; cv=none; d=google.com; s=arc-20160816; b=JxCLBlrsnHlN3dF1X4rryQuKM3g6kvjWrthcH7Go4o755KNZp4HdVCfKwSEa0Mxzx1 caTwot+4MJ5m1VMDNdmuF2q1NJetyE+jkUC3hROP2H5/gRLDtgE39n2Uzms4kyh86ZWZ BqIX33QAiv2bEp8F6Y4ekmHH7OanuHPrHMh2azHOsOPEowYgIJGtD6Hi6tqSgAY96xto x23olbeICuHewgyjKVL49Ta42qR8DLt8ivvYIBj4sH+LKSLG3yB2TSvrps9sfQlaX/1e FJt7lg5Qvuvli30YUYhoZIBXJiJfLlYnsbytw6FMNXJkMdN8ErbUqNtqVCaFUp+yEVdX kJLA== 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; bh=ihablNMJXNTLuTKbXfL3FYp092/wGJrqBFoQwk/BFjg=; b=yb9PzCaA2QnwWp21yfeJimXeaM36krYaNBK8giyZ0wTCnqNA57nKbDcNyMMmSX99R+ RfaJ83rgxcTX/gfn3KGAvgeGJUKqsN3iZR5s1jbkFExAJZlsWVs8hX7Rp5eIcgo46uxZ qPJSKeHyC3DL6ZTtsURZiEAIwcdyRL49mYIRI9INYsrm+FyikTvGTU9oVZb7w3XYUtxr vCfIMFQVhgJdhLlHSGXvLEw8XT7GuIA7slyBCjDQweyIdnUJTAG7nzIry8BvAr+v9Dq/ AC7Dfwxv75nckfcatd/Pslsne1IxadCu6dAheGk2batwnmkafJQCt5VOGqPtfCvQD+Xf M4Fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si1672315ejx.282.2019.10.09.12.14.35; Wed, 09 Oct 2019 12:14:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732524AbfJITOd (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 9 Oct 2019 15:14:33 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:48645 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731827AbfJITLQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Oct 2019 15:11:16 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MUY9w-1iiiBO2Rnc-00QSut; Wed, 09 Oct 2019 21:11:14 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-kernel@vger.kernel.org, y2038@lists.linaro.org, linux-fsdevel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH v6 23/43] compat_ioctl: remove /dev/random commands Date: Wed, 9 Oct 2019 21:10:23 +0200 Message-Id: <20191009191044.308087-23-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191009190853.245077-1-arnd@arndb.de> References: <20191009190853.245077-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ch73ytSgkS4oO2S41UnNXUn/KSJkmlRmqTVkiyababZ9lcd2HmZ l18W6SmPMr4W7U9DWKyd3pxDD1nj9yEj1Ou4wqNRLKtzbDLLCXdXpAoeBb1eYQODVbRCd25 7kh75HGXTVxdLptZI8IsTTBoPfgxqkZx/APabZcPCZimckfmVFsY7EwOgC2AuzpQimd9Pzv iGnWmE0DSKNq074mPIXiQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:Mp88p1QWiEE=:vZ9uVfiRDQJSgHqzjVRZzC BLZy+JtpG647XofXSYFHsX58YjMhiQy0tlW9NM2tYEjhWuHmmFUNEGNFEb0IXxI0xS9gZCsLC dTYqJ+6UktTYxrBJz6hprK++ur0WUla5FN6ejzfosIH4SGGpaE5qOxB937769UxopXr+jRqeZ +HgZ+pYPJ9MqrccH28mt5dVlVQJN5nDef0horNZ5Cn5JGQPTy8oBqzaLZp8vkgbrqOojs4/bx XRpswMQDTVp0+ohB82I7JbcIAzk2o1KHYyZ/qsWOwJz9Rzt65fd1GdHN1sm1vnY6A6DEv9F+U Vm80fKI8uSDF7hd+TUdZOQh9bMLvon9DTrQyEvVznhN0rgXfZiAy7Di8M2bnv0O2cytW6UhPI p14zadmbezGpIQSYg4yJJlyMMob8QkE3eZNlQyRJXvprX19Y8LiwbRatlZwN13GqDt4eFGfsB SMMi5u0/zmyK0r5c9B5ZjWoxTr+lKqFHZnvSRmN2m+gxGD/yApL8t5wy9QMIKGwqFvbO+MSU0 GMPrFqGhiByU8cl+x4jiS2fTXS1C+WfSBmMMCkDz1ivvO+CbMVOYBbhdMdDh1GXxLuADVb+yP hOV3v7t/WLNHAAGVEoGs/71LHQjOqOUOnyNte6npQvWkNFf5lx6qf3EHOBSLuTOCokg3OSTX5 dlqto6yy8strq2ogrPAoj9rSYmd2Ld3BlqXu6VHBsj6+r1wJgDHKF5BaGG6CP+LlkrH9VIT+g z3MuEy3tSsAiZOJ1A2PExwAfl+q041oJkdcbkl+fQ8OH+5SkoPG4fLwl5sCdhSXTrzOnZp6Mk WHIbNwY3Xl7IEht+6Q1OCvj7AJrDRWmZPBviXYXm99FxtTxtiBnh0EyVXbNOeUNqbcpVHAwr/ RetjiPXaFCl2b+MblZIw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v6,01/43] fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP
|
expand
|
diff --git a/drivers/char/random.c b/drivers/char/random.c index de434feb873a..46afd14facb7 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -2167,6 +2167,7 @@ const struct file_operations random_fops = { .write = random_write, .poll = random_poll, .unlocked_ioctl = random_ioctl, + .compat_ioctl = compat_ptr_ioctl, .fasync = random_fasync, .llseek = noop_llseek, }; diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 10dfe4d80bbd..398268604ab7 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -439,13 +439,6 @@ COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) COMPATIBLE_IOCTL(WDIOC_SETPRETIMEOUT) COMPATIBLE_IOCTL(WDIOC_GETPRETIMEOUT) -/* Big R */ -COMPATIBLE_IOCTL(RNDGETENTCNT) -COMPATIBLE_IOCTL(RNDADDTOENTCNT) -COMPATIBLE_IOCTL(RNDGETPOOL) -COMPATIBLE_IOCTL(RNDADDENTROPY) -COMPATIBLE_IOCTL(RNDZAPENTCNT) -COMPATIBLE_IOCTL(RNDCLEARPOOL) /* Misc. */ COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO)