Fixed mode of /devfs/console.
This commit is contained in:
parent
6ae323519c
commit
1170175e62
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.40 1995/12/13 15:12:20 julian Exp $
|
||||
* $Id: cons.c,v 1.41 1995/12/22 13:09:30 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -327,15 +327,9 @@ cn_drvinit(void *unused)
|
||||
cdevsw_add(&dev,&cn_cdevsw,NULL);
|
||||
cn_devsw_installed = 1;
|
||||
#ifdef DEVFS
|
||||
cn_devfs_token = devfs_add_devsw(
|
||||
"/",
|
||||
"console",
|
||||
&cn_cdevsw,
|
||||
0,
|
||||
DV_CHR,
|
||||
0,
|
||||
0,
|
||||
0640);
|
||||
cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"console");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.40 1995/12/13 15:12:20 julian Exp $
|
||||
* $Id: cons.c,v 1.41 1995/12/22 13:09:30 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -327,15 +327,9 @@ cn_drvinit(void *unused)
|
||||
cdevsw_add(&dev,&cn_cdevsw,NULL);
|
||||
cn_devsw_installed = 1;
|
||||
#ifdef DEVFS
|
||||
cn_devfs_token = devfs_add_devsw(
|
||||
"/",
|
||||
"console",
|
||||
&cn_cdevsw,
|
||||
0,
|
||||
DV_CHR,
|
||||
0,
|
||||
0,
|
||||
0640);
|
||||
cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"console");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user