From patchwork Wed Sep 12 15:13:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146582 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4948314ljw; Wed, 12 Sep 2018 08:16:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYxeTdwRcpdPsL8O5rBF+gDOf3A/OcYW6njelqcAcHDSwdwffxJtax0F4RjxtoAFXpwP5CT X-Received: by 2002:a17:902:7145:: with SMTP id u5-v6mr2839801plm.259.1536765359891; Wed, 12 Sep 2018 08:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536765359; cv=none; d=google.com; s=arc-20160816; b=M/SFmz0NnJaEsHfC6EVEfihKpqVjW09Wvupn6j58EEhQd0ztHfxSx6U6K+0sJZh6sN 76hHtSq7mavj3hcy8y4B+Vh53RifRag7X5802P8nik/1rYqQoc35Fi2PtaO+1mgFTwHH t7FYcsWy6k8ClxwFhLV7KQ9y5u/DoORtv1o0/x5tH4HlyEZrX2pZrlNujktXCiylhF2Z dW8NnOd1Kq/duh0Rr6G/o4b2JDJv1VXDdQbCE8BzT2qPJQVvLi2j5XOsnG1U9dygp0Xo nzAXU91YHLrQOkTQGGwdzpQvtq4Xhxjt9pjVgwGl4QMj3FHj/RqnZL7iQUGXShGfMif3 h7ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=ic6Ju/UU0OazezPk5M9psFh+tcLKyjnZIzKnUnWeXIM=; b=Oox5KCQ93Ug6VIocw5kqfO656QJ0uRWwFE1FHYyzlWhHfxCHI/GTutfSErjwOG/Q7z E4GukDrEYSqpZnfMoGciP29xL/HAmzmK7euqN4fSdAKNxCEZVblk6MsR/dM3g7r4nrId f1HO+A4MRbR/0YSc/GxeR683OQU6pn5Dm7gpdKTcFpZKlyFhpG2T2WscVRpo9UXHMGQ1 Fe9cWHmz6THiTNtz2g/aDnggsS7COLldnCTrS6ByDaCtUUneSv+xpdlbHw1JHtDnl0xi f9Gv51Dnk4qQ2hDEQwfFrjKvO7kLsSichgFEMWLl/pMMNaxFQkNXPudQcZ/uK9jYoj0+ +bQw== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11-v6si1368110pga.454.2018.09.12.08.15.59; Wed, 12 Sep 2018 08:15:59 -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 S1728160AbeILUUy (ORCPT + 32 others); Wed, 12 Sep 2018 16:20:54 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:32889 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727004AbeILUUy (ORCPT ); Wed, 12 Sep 2018 16:20:54 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MgNlH-1fLpVU11RP-00hsbB; Wed, 12 Sep 2018 17:15:55 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH v2 16/17] compat_ioctl: remove /dev/raw ioctl translation Date: Wed, 12 Sep 2018 17:13:08 +0200 Message-Id: <20180912151422.571531-7-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180912151422.571531-1-arnd@arndb.de> References: <20180912150142.157913-1-arnd@arndb.de> <20180912151422.571531-1-arnd@arndb.de> X-Provags-ID: V03:K1:biePc2ACx7bwrpc7sls9V7X4YqnMWv0qCNnd8+u5xLT+XAECBkK ZFYXrb7jRSNkSkjJpPRcw3alera/JU/7FeuMNMRNKAIDomey/ioMEf1CAsl7lnBiaOH3sXZ A10+I0P6xDPLZqnG5Y5H6lTcwTjwZLVyb8roHQ2FwM7+eGic2Lw8Go2mGkpKtEvWgN1dwTZ KPJ5XcVRyT6gZV4r/bntQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:kPHCRZJg7MI=:Wz0bgwxd92ONpCXC12X0Be /uyoS4PyStatIt1hdfIBOzi3Lc51LJEEMlLw/Uk10Xxjx4xXVweA98yC4PUvqvQSSMrSrSiUe TfjobK4Swyv3+x/7Ox6lSy8/I9MJ7Bm3K4IdotSndriCsNNb3QaoeUCX8d4GYUxHwfTStPqIP Ea+bBMmk+fQ4UKK4H/M8/gDUiSP5aeKGziewT8UGhSgprfKK/R3jjwwrktSPf5yvlUY4sqqo+ FiXHzmIQoyvqAkcu0qaoXu1U5xtkch/ijHs9BfNn9fKOCVjkqtlkyMGOe0hqLJs7PeNmW3CIf smBUv5uxh+sPpVEmB5BJVDAZIp1FstEyuVo4qR/gbRMTNmrwuEIHBMxq3YOzafFeMwsAAvF7S +CfBKpqErb1TYxia88KmYOot6KBp1hG9hEbK79ORsYAv8TetGqZLfC2qMdUgsqwlNyWnblGy3 AS7forVMQx+kW+WZTboRfEiz+X2Nv5klkECDGElEFnf485mASfUxBkMLOVhvaNXdV9NstjWJ7 hfZGXZQ51j6JmxaHizLRPH2YQ0NMHP4yIJU5YBLENFYMO3a29f12CBAVFvbyJG47PnaGbN2t8 OhrEivXrUzwfZk+u10sTE3EJjr4PxejT4shStVLpxSUZkKxOfgQaFjhB7VA/kdMpP3cepW0/6 Q8+ExD/ONsXeNN1rl0AcRLU99xT/H+5wr7udJnui5NOvjBw9rjW53c1x7sregMnzpkxY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The /dev/rawX implementation already handles these just fine, so the entries in the table are not needed any more. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.18.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 8510cd652bb0..79ad7c3afd70 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include @@ -747,9 +746,6 @@ COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS) /* PPPOX */ COMPATIBLE_IOCTL(PPPOEIOCSFWD) COMPATIBLE_IOCTL(PPPOEIOCDFWD) -/* Raw devices */ -COMPATIBLE_IOCTL(RAW_SETBIND) -COMPATIBLE_IOCTL(RAW_GETBIND) /* Watchdog */ COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) COMPATIBLE_IOCTL(WDIOC_GETSTATUS)