From 5e0f6c433808f9538958dab892986c182f34583a Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 7 Apr 1996 14:59:26 +0000 Subject: [PATCH] Fixed the ownership and permissions of /dev/io. Rev.1.32 broke rev.1.29. --- sys/amd64/amd64/mem.c | 4 ++-- sys/i386/i386/mem.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/amd64/amd64/mem.c b/sys/amd64/amd64/mem.c index 47120c1861ed..076a671a3a46 100644 --- a/sys/amd64/amd64/mem.c +++ b/sys/amd64/amd64/mem.c @@ -38,7 +38,7 @@ * * from: Utah $Hdr: mem.c 1.13 89/10/08$ * from: @(#)mem.c 7.2 (Berkeley) 5/9/91 - * $Id: mem.c,v 1.31 1996/03/27 19:04:55 bde Exp $ + * $Id: mem.c,v 1.32 1996/04/01 21:02:14 scrappy Exp $ */ /* @@ -124,7 +124,7 @@ memdevfs_init() UID_ROOT, GID_WHEEL, 0666, "zero"); io_devfs_token = devfs_add_devswf(&mem_cdevsw, 14, DV_CHR, - UID_ROOT, GID_KMEM, 0640, "io"); + UID_ROOT, GID_WHEEL, 0600, "io"); #ifdef PERFMON perfmon_devfs_token = devfs_add_devswf(&mem_cdevsw, 32, DV_CHR, diff --git a/sys/i386/i386/mem.c b/sys/i386/i386/mem.c index 47120c1861ed..076a671a3a46 100644 --- a/sys/i386/i386/mem.c +++ b/sys/i386/i386/mem.c @@ -38,7 +38,7 @@ * * from: Utah $Hdr: mem.c 1.13 89/10/08$ * from: @(#)mem.c 7.2 (Berkeley) 5/9/91 - * $Id: mem.c,v 1.31 1996/03/27 19:04:55 bde Exp $ + * $Id: mem.c,v 1.32 1996/04/01 21:02:14 scrappy Exp $ */ /* @@ -124,7 +124,7 @@ memdevfs_init() UID_ROOT, GID_WHEEL, 0666, "zero"); io_devfs_token = devfs_add_devswf(&mem_cdevsw, 14, DV_CHR, - UID_ROOT, GID_KMEM, 0640, "io"); + UID_ROOT, GID_WHEEL, 0600, "io"); #ifdef PERFMON perfmon_devfs_token = devfs_add_devswf(&mem_cdevsw, 32, DV_CHR,