Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1624553 > unrolled thread

[PATCH 2/4] add tiocsti_restrict variable

Started byMatt Brown <matt@nmatt.com>
First post2017-04-17 08:10 +0200
Last post2017-04-17 09:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/4] add tiocsti_restrict variable Matt Brown <matt@nmatt.com> - 2017-04-17 08:10 +0200
    Re: [PATCH 2/4] add tiocsti_restrict variable Greg KH <gregkh@linuxfoundation.org> - 2017-04-17 09:00 +0200

#1624553 — [PATCH 2/4] add tiocsti_restrict variable

FromMatt Brown <matt@nmatt.com>
Date2017-04-17 08:10 +0200
Subject[PATCH 2/4] add tiocsti_restrict variable
Message-ID<tx81k-5DY-35@gated-at.bofh.it>
adding extern variable tiocsti_restrict to allow it to be included
in sysctl

Signed-off-by: Matt Brown <matt@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

[toc] | [next] | [standalone]


#1624575

FromGreg KH <gregkh@linuxfoundation.org>
Date2017-04-17 09:00 +0200
Message-ID<tx8NI-5UK-7@gated-at.bofh.it>
In reply to#1624553
On Mon, Apr 17, 2017 at 02:07:04AM -0400, Matt Brown wrote:
> adding extern variable tiocsti_restrict to allow it to be included
> in sysctl
> 
> Signed-off-by: Matt Brown <matt@nmatt.com>
> ---
>  include/linux/tty.h | 2 ++
>  1 file changed, 2 insertions(+)

I'm all for breaking up changes to be tiny logical pieces, but this is
really not needed.  Please make it "one logical feature" per patch.

thanks,

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web