Define magic uids and gids for use in devfs_add_devsw[f]().
The kernel shouldn't know these values, but there is currently no better way of setting them.
This commit is contained in:
parent
ebcae94e4f
commit
bf0d367123
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14842
@ -1,7 +1,7 @@
|
||||
/* usual BSD style copyright here */
|
||||
/* Written by Julian Elischer (julian@dialix.oz.au)*/
|
||||
/*
|
||||
* $Id: devfsext.h,v 1.6 1996/01/21 09:03:04 julian Exp $
|
||||
* $Id: devfsext.h,v 1.7 1996/01/25 07:17:05 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_DEVFSECT_H_
|
||||
@ -36,4 +36,16 @@ void devfs_remove_dev(void *devnmp);
|
||||
#define DV_BLK 1
|
||||
#define DV_DEV 2
|
||||
|
||||
/* XXX */
|
||||
#define UID_ROOT 0
|
||||
#define UID_BIN 3
|
||||
#define UID_UUCP 66
|
||||
|
||||
/* XXX */
|
||||
#define GID_WHEEL 0
|
||||
#define GID_KMEM 2
|
||||
#define GID_OPERATOR 5
|
||||
#define GID_BIN 7
|
||||
#define GID_DIALER 68
|
||||
|
||||
#endif /*_SYS_DEVFSECT_H_*/
|
||||
|
Loading…
Reference in New Issue
Block a user