From cf78fc4129932992e4845e7460e0b278433275a6 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 28 Mar 1996 15:03:41 +0000 Subject: [PATCH] Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and rev.1.44 was a subset of them. --- sys/i386/i386/cons.c | 8 ++++---- sys/kern/tty_cons.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c index 289e5c87ea46..648702192170 100644 --- a/sys/i386/i386/cons.c +++ b/sys/i386/i386/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $ + * $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $ */ #include @@ -327,9 +327,9 @@ cn_drvinit(void *unused) cdevsw_add(&dev,&cn_cdevsw,NULL); cn_devsw_installed = 1; #ifdef DEVFS - cn_devfs_token = - devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0, - 0640, "console"); + cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, + UID_ROOT, GID_WHEEL, 0600, + "console"); #endif } } diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index 289e5c87ea46..648702192170 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $ + * $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $ */ #include @@ -327,9 +327,9 @@ cn_drvinit(void *unused) cdevsw_add(&dev,&cn_cdevsw,NULL); cn_devsw_installed = 1; #ifdef DEVFS - cn_devfs_token = - devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0, - 0640, "console"); + cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, + UID_ROOT, GID_WHEEL, 0600, + "console"); #endif } }