From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933054AbdDQGI1 (ORCPT ); Mon, 17 Apr 2017 02:08:27 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:58950 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932647AbdDQGHq (ORCPT ); Mon, 17 Apr 2017 02:07:46 -0400 X-Originating-IP: 72.66.113.207 From: Matt Brown To: jmorris@namei.org, gregkh@linuxfoundation.org, akpm@linux-foundation.org Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Matt Brown Subject: [PATCH 2/4] add tiocsti_restrict variable Date: Mon, 17 Apr 2017 02:07:04 -0400 Message-Id: <20170417060706.28674-3-matt@nmatt.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170417060706.28674-1-matt@nmatt.com> References: <20170417060706.28674-1-matt@nmatt.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org adding extern variable tiocsti_restrict to allow it to be included in sysctl Signed-off-by: Matt Brown --- include/linux/tty.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/tty.h b/include/linux/tty.h index 1017e904..7011102 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -342,6 +342,8 @@ struct tty_file_private { struct list_head list; }; +extern int tiocsti_restrict; + /* tty magic number */ #define TTY_MAGIC 0x5401 -- 2.10.2