From patchwork Sat Sep 8 14:28:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146241 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp628081ljw; Sat, 8 Sep 2018 07:32:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbKzZPxiBcI1qDPrYCZWSd7F5PhWDjbAjtzvhHG2R3gRq+3GScZ4fx2udtb9ludLavoHoZ3 X-Received: by 2002:a65:41c6:: with SMTP id b6-v6mr13707328pgq.174.1536417131902; Sat, 08 Sep 2018 07:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536417131; cv=none; d=google.com; s=arc-20160816; b=KhjulAcM0W+h6t95EtZG5g9lmiMW1FAd16CCMU4dYwXqC7q+5m3DEwBW4bi1Z3tJKD GU3tP0AeDvK3eAzlGDzx/Yfc+tBqaauA7HaJY8spdp5McAqfetf/d6wnA7SiU2W+atVD 2F+V0wL8qoAYOoYybqBNQ9cYuUV7PTNP4/AxKfK8eSmtFU59kuDd02+tBGFoCW7NfQZ/ RaSIkoKYGtAfqxEg4FHdX1HgSoIb62T8kJpFWvgzryFF74GxSWCRo6zRIIowEs/L03IN laQpJsCxB51oPuZVHoNc9tEhNthMqASSZWU3Ovdgvu2nCd4zJNnffilhdRFmmtiPvcoJ cA9g== 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=nvGir8l+L8Wp6C8M5sELQIpnx7uZr7nQxfSElLv5yeY=; b=bdgPQuLfOJYXVHP7BrOd+ZRr/w2IN5iSUybKBeBAev9BB013RGwuut6fDae821PCUc 2RAFDZdnwybNttNwfP8HO4KIQcxP1c84793vn8Fd0FWXkaLqUKHfQTJJDT5m5JA2U5wx btm4qBvygq0UXq3iGQd7hkQkaC0Yyt/4QY/hJhHi/7q+AtpfEgLmTFvrWe+F7xfJZj86 VyQlnrLHfvbI831fVPPh9JRLc3ruOo7o9WD7GWgekhUKtU166e3E//zRXmsprV1R1eX+ 6q0SClp+X7xK/QlBms2ul31hZ1jdsm7ENrfD0SSsD/QJyzDRYPX63foe+gGLlxx0g8we uLmg== 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 j64-v6si12126961pgc.88.2018.09.08.07.32.11; Sat, 08 Sep 2018 07:32:11 -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 S1727720AbeIHTSI (ORCPT + 32 others); Sat, 8 Sep 2018 15:18:08 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:44931 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbeIHTSI (ORCPT ); Sat, 8 Sep 2018 15:18:08 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1M2NqA-1g1O6T0GWE-003rwK; Sat, 08 Sep 2018 16:32:07 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/11] compat_ioctl: remove /dev/raw ioctl translation Date: Sat, 8 Sep 2018 16:28:15 +0200 Message-Id: <20180908142837.2819693-9-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908142837.2819693-1-arnd@arndb.de> References: <20180908142837.2819693-1-arnd@arndb.de> X-Provags-ID: V03:K1:igYwFt37Me/pBzU2cL5f50SU8QPyDjxHobFHBJxRdCx1SRjJQLQ hiIjs01dgrRvah7tGGbQsnWhIqUDZYUK9gybmYyjwlthMj96eKd6gE+NPNEtGvfTlW5sKkF e988tyZFCxgl1tduJgXZHXSxMNvZPtagM1lYlsINbQwFmBx21kkf3U9yYvZ90L6oxIcURRc 2USiZE1Hnxfq0eFZjJwEw== X-UI-Out-Filterresults: notjunk:1; V01:K0:LXDHlHckRH8=:mzkNgCsds9MEPVh/L/x6jR 7y3xeSQHCidanQRs+xk2iwRg1cL7XpWfsDAkO0zRlGWsJPoTppoNOL6PBEWyTA9xTBeF6Rs/T 4ys2req1TPD4vluzkXYE06UlX5olN5OBvkjWjtVpKUA1Gi3R22F+YeYdCqWutbhHOyIhdozlu z35C3mk6y7Gzgi/o2W6xNcMsKR4LRJ7vKbjkMILfxikDiNBqQhCGYwGDrwVjDAJIM1wFAwBy7 Wk+MuU+hi7jwwVCcgVtuclD8tECmu2iVdWsTV+GFhL5YIjLlZzJNYLKAfpReUULEo0QoyCTZL 7LGCpjCI4ysp6ckBJ+niQFCv6jFemgyfGkTK7dSLf6nBDsEDFaXMFaMu/v2kN7T8Up66G0MeT 24D1F5Ih7Zwigy8ZbOjo7f4vceOiUAMjcg0Ybr0EcJsgZ/DMZZbDFmYiMY78kQ0PiiXDTUZt9 cMzkC981IrIKuyRbbGcPDetSoxQ5U5WCRlU3pUfAck0L5EzhWD/rOUf1urthYb63vsH+kWcpK n2GzXXliGPgbCUh7M18Uf/eFdsC3R+idcmM0ZZxEFCKOEEClM7Iui92pF7LC2qZBJFpfA2A7D ZMu2lhI1ETB/6hvHs3xf5TOyoLBEayQVOY5KvoUipDBmEHRsXZPhJZyz2r80XCG1xLrfyupCv EhSlMZCt+DaDVsPeJSY6J1hvxzvCtDmgfmwq9SCjzTZ33vrruAjWDyaCDmLXGCClBEmg= 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 28ebff2d1799..e755802cd887 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include @@ -577,9 +576,6 @@ COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) /* PPP stuff */ COMPATIBLE_IOCTL(PPPIOCGUNIT) COMPATIBLE_IOCTL(PPPIOCGCHAN) -/* Raw devices */ -COMPATIBLE_IOCTL(RAW_SETBIND) -COMPATIBLE_IOCTL(RAW_GETBIND) /* Watchdog */ COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) COMPATIBLE_IOCTL(WDIOC_GETSTATUS)