[PATCH 2/4] add tiocsti_restrict variable

Matt Brown matt at nmatt.com
Mon Apr 17 06:07:04 UTC 2017


adding extern variable tiocsti_restrict to allow it to be included
in sysctl

Signed-off-by: Matt Brown <matt at nmatt.com>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list