The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/devfsext.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* usual BSD style copyright here */
    2 /* Written by Julian Elischer (julian@dialix.oz.au)*/
    3 /*
    4  * $FreeBSD: src/sys/sys/devfsext.h,v 1.13.2.1 1999/09/05 08:22:06 peter Exp $
    5  */
    6 
    7 #ifndef _SYS_DEVFSECT_H_
    8 #define _SYS_DEVFSECT_H_ 1
    9 
   10 void *devfs_add_devswf(void *devsw,
   11                 int minor,
   12                 int chrblk,
   13                 uid_t uid,
   14                 gid_t gid,
   15                 int perms,
   16                 char *fmt,
   17                 ...)  ; 
   18 
   19 void *devfs_link(void *original,  /* the result of a previous dev_link */
   20                  char *fmt,       /*            or dev_add operation */
   21                  ...);
   22 
   23 /* remove the device the cookie represents */
   24 void devfs_remove_dev(void *devnmp);
   25 
   26 #define DV_CHR 0
   27 #define DV_BLK 1
   28 #define DV_DEV 2
   29 
   30 /* XXX */
   31 #define UID_ROOT        0
   32 #define UID_BIN         3
   33 #define UID_UUCP        66
   34 
   35 /* XXX */
   36 #define GID_WHEEL       0
   37 #define GID_KMEM        2
   38 #define GID_OPERATOR    5
   39 #define GID_BIN         7
   40 #define GID_DIALER      68
   41 
   42 #endif /*_SYS_DEVFSECT_H_*/

Cache object: 1a4588bb03d1bcc317ab32792d662ccf


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.