Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and t...



details:   https://anonhg.NetBSD.org/src/rev/48ca6b693755
branches:  trunk
changeset: 329389:48ca6b693755
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu May 22 16:28:06 2014 +0000

description:
Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and tty_conf.c.

These modules are the core of the tty code that in the long term needs
access to struct tty. (It may be that in the future this can be cut
back to just tty.c; we'll see. For now I'll settle for keeping drivers
out of struct tty.)

diffstat:

 sys/kern/tty.c      |  6 ++++--
 sys/kern/tty_conf.c |  6 ++++--
 sys/kern/tty_pty.c  |  6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diffs (66 lines):

diff -r df67e01f32ba -r 48ca6b693755 sys/kern/tty.c
--- a/sys/kern/tty.c    Thu May 22 15:21:13 2014 +0000
+++ b/sys/kern/tty.c    Thu May 22 16:28:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty.c,v 1.259 2014/02/25 18:30:11 pooka Exp $  */
+/*     $NetBSD: tty.c,v 1.260 2014/05/22 16:28:06 dholland Exp $       */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,10 +63,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.259 2014/02/25 18:30:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.260 2014/05/22 16:28:06 dholland Exp $");
 
 #include "opt_compat_netbsd.h"
 
+#define TTY_ALLOW_PRIVATE
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/ioctl.h>
diff -r df67e01f32ba -r 48ca6b693755 sys/kern/tty_conf.c
--- a/sys/kern/tty_conf.c       Thu May 22 15:21:13 2014 +0000
+++ b/sys/kern/tty_conf.c       Thu May 22 16:28:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty_conf.c,v 1.55 2008/04/28 20:24:05 martin Exp $     */
+/*     $NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $   */
 
 /*-
  * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -66,7 +66,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.55 2008/04/28 20:24:05 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $");
+
+#define TTY_ALLOW_PRIVATE
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r df67e01f32ba -r 48ca6b693755 sys/kern/tty_pty.c
--- a/sys/kern/tty_pty.c        Thu May 22 15:21:13 2014 +0000
+++ b/sys/kern/tty_pty.c        Thu May 22 16:28:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty_pty.c,v 1.138 2014/04/04 18:11:58 christos Exp $   */
+/*     $NetBSD: tty_pty.c,v 1.139 2014/05/22 16:28:06 dholland Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -37,10 +37,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.138 2014/04/04 18:11:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.139 2014/05/22 16:28:06 dholland Exp $");
 
 #include "opt_ptm.h"
 
+#define TTY_ALLOW_PRIVATE
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/ioctl.h>



Home | Main Index | Thread Index | Old Index