Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755416AbdGKHa0 (ORCPT ); Tue, 11 Jul 2017 03:30:26 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33816 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753178AbdGKHaV (ORCPT ); Tue, 11 Jul 2017 03:30:21 -0400 MIME-Version: 1.0 In-Reply-To: <20170711001207.GA11642@glebfm.cloud.tilaa.com> References: <20170711001207.GA11642@glebfm.cloud.tilaa.com> From: Arnd Bergmann Date: Tue, 11 Jul 2017 09:30:14 +0200 X-Google-Sender-Auth: O_9qzVRUe7a_LTiGXtdMhC3WNkQ Message-ID: Subject: Re: [PATCH] tty: Fix TIOCGPTPEER ioctl definition To: Gleb Fotengauer-Malinovskiy Cc: Aleksa Sarai , Greg Kroah-Hartman , Jiri Slaby , Christian Brauner , Valentin Rothberg , "Dmitry V. Levin" , Linux Kernel Mailing List , linux-alpha@vger.kernel.org, "open list:RALINK MIPS ARCHITECTURE" , Parisc List , linuxppc-dev , linux-sh@vger.kernel.org, sparclinux , linux-xtensa@linux-xtensa.org, linux-arch Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 397 Lines: 10 On Tue, Jul 11, 2017 at 2:12 AM, Gleb Fotengauer-Malinovskiy wrote: > This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag > because it doesn't copy anything from/to userspace to access the > argument. > > Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl") > Signed-off-by: Gleb Fotengauer-Malinovskiy Acked-by: Arnd Bergmann