Message ID | 20191009191044.308087-37-arnd@arndb.de |
---|---|
State | Accepted |
Commit | b7aff093e94daff1e6076393ed43b7c9651b2b43 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1173471ill; Wed, 9 Oct 2019 12:13:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLm9nDGHXZcQXaTdCdpT3akgvUUKQSxQPOmHnJ0GtNd5NmgoXvQR/rHGQrPeKkkPbEtZIQ X-Received: by 2002:a05:6402:1804:: with SMTP id g4mr4493695edy.266.1570648421087; Wed, 09 Oct 2019 12:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570648421; cv=none; d=google.com; s=arc-20160816; b=k2q4p+ve9MD/peORfZ0I/njCpVUo3491UuqPAGp3E8fbABIb4E8LW2XfkaaEhl5yby pMF3YjHTjRf6qv+j19d6Ybs07GmrD/cey+9KrTomenvvCcOi9LbFv//Kwi/PUVp/Tfnc Fu70WijWoG0l4qEwswXmUTZb+ySJE3btDPfdkFiMu/hpN/vLY94mukDj1GQOdPdCGQnn U1Pr4ja09ckOQnMAGbZ5hU5oiVJRSHjZ98DpE9FgayYYztxppsqn9zTWbW+8EXpy4GYx edqGfJQINeMs+ZYj9zlKYc5N7bWP8XfLzOHfWVsKQjz31V5t0kw7VHhH3t4DWdddzDb5 aBRA== 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=AjQi6fQkMt0fXMd+va5C4jf8zZSW2kLWvmV/pkeg3xg=; b=JZ/YpaegSfp6tGIxUzyNn5Z7HIx/oWCyWcY8tB8din1YjQoauiS7CJQq1jt+6naAlL fYF7tcOvTvQRcW8J8s3BJBOPffys98bqoYYNAtKtbTcFXI9LZxboSw8SmxXuZzXGKTJV cRmkdEHukPmBQxF6mRkdknQ4WCdaydJFR4dgw722sX6IPepsAmCtC4nkH278JT2GRg39 8vhhv3ogz8ERialkc2tgeiaqZK2JBLY/7QHORWO8EqOv4MyEwDSEBTiW1ORmrBjHklNY 7LmbXml/OxwnPRbOej3LICDKMkCP/IMUD5NLv2JT/ehzVXJ22EEWAYXgcatww9Tvr2OK 4G5Q== 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 f23si1604713eji.266.2019.10.09.12.13.40; Wed, 09 Oct 2019 12:13:41 -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 S1732450AbfJITNk (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 9 Oct 2019 15:13:40 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:59653 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731968AbfJITLW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Oct 2019 15:11:22 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N5VXu-1i2Ujq2Hqk-016vHR; Wed, 09 Oct 2019 21:11:20 +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>, Paul Mackerras <paulus@samba.org> Subject: [PATCH v6 36/43] tty: handle compat PPP ioctls Date: Wed, 9 Oct 2019 21:10:37 +0200 Message-Id: <20191009191044.308087-37-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:43BP+32+2SiwTrW6MHUM/okhpG3+oHxC7RcOSEJIqMvz5OLkUqt 4/etTty+G8dCqllqFpFIPxLDCLHphxe0yjLccmA9PMIloSi4DvuMfEWE+N9gX0loKtl12KN e2rIOaV9KpRmAdGGcnVEWrBiQ0lG5bqZodCI5jWL9IINqIFdiDQmwA7Ho6rWDHEHg3gBxjT M+ZwTu5E43IV5LS9jLXww== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:gtDDUaRl35U=:cNNhWfh43v/g15sk9Sw8Jk qJ0JStosDeWOibvIqepXRzxCr/5DpPxW6r8CBD7JouAQn+zp7ipRB3BJ8bLu4dsRzmWoZ/Vsc ujtTtGIT5tCt16EADFOYAfScuXBkuSEKcFjvqKA0C3uGZVGM7oMOcEps/gZY2Zhhqd/DoyvZJ s6c1tiQWYNTIj5JFmAUEg3kM1Gt7WkPhAqtVtvjVvyZJNQU7fM6zAixHnhYtLqUyoxcv4HJWS l20OpT3/OiJEepE0Zv5vRmJ+G48YWNoxc/8VkSqZCFFu6Ndx2X6rQLcyUIeDjdkwr6P9NDcXu 0rVwnfVceb6M4rf0IiBruPUe4rhoyrq8QZja9QUzRbSpLyTVXb9x6BnF1Mpq32KF9eflgs20P Nv9vCc3vmvuqXHcq4MnNx5h3gORAAA+vfNZI5BM0vK+qR7jajhGc92ONFasYswahZ+Bt7jUzT wPHAfQStt6mek+qiSDGtlXtmByOlRsTP7/a07aaaNiGp0W3XXzM3w1UoLaV4lNJrE6O1Um9zx hJEs6cclD5D653vrsjCLHKYGUb2NgMMKLpRCYPltRj3OoGNH4w6VPrlMNbTmQ6rCQxUpBlU0c 76dZWRV42PYz85hj+HO740aHQBt4WscIPmXyr8DKP08ZNuWsATyo3vMjyL4QzSNUZmsPHIBBd MSMZlrF0kcudKDKGpoPDit5D8JA8niV2asWhDYJYSndCB+z5hH1vgCX4aBJruEaKNo74v35FF nYHF74YeFzDORpXF7RvyyfSt3gZ/mD18cz5GmKLZ2raM4USL9uDjjc1UlNaBamGmArU/7usuN DSSq36+6+sF+mDfCZtG+WOnnrIXO63z3M/lsxwSk8cyyzcIAHFvV5qnrySF1Cz6XpSxuy7YIc JUA7GVYrBlSzgov2GTAw== 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/tty/tty_io.c b/drivers/tty/tty_io.c index c09691b20a25..a81807b394d1 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -87,6 +87,7 @@ #include <linux/string.h> #include <linux/slab.h> #include <linux/poll.h> +#include <linux/ppp-ioctl.h> #include <linux/proc_fs.h> #include <linux/init.h> #include <linux/module.h> @@ -2811,6 +2812,9 @@ static long tty_compat_ioctl(struct file *file, unsigned int cmd, #endif case TIOCGSOFTCAR: case TIOCSSOFTCAR: + + case PPPIOCGCHAN: + case PPPIOCGUNIT: return tty_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); case TIOCCONS: case TIOCEXCL: