Annotation of coherent/f/usr/include/common/_cred.h, revision 1.1.1.1

1.1       root        1: #ifndef        __COMMON__CRED_H__
                      2: #define        __COMMON__CRED_H__
                      3: 
                      4: /*
                      5:  * This internal header file is intended as the sole point of definition for
                      6:  * the System V DDI/DKI data type "cred_t".
                      7:  */
                      8: 
                      9: #include <common/_uid.h>
                     10: 
                     11: 
                     12: /*
                     13:  * Credentials structure, containing all the credentials-related
                     14:  * information about the user.
                     15:  */
                     16: 
                     17: typedef        struct {
                     18:        unsigned short  cr_ref;         /* reference count */
                     19: 
                     20:        unsigned short  cr_ngroups;     /* number of groups in cr_grps */
                     21:        n_uid_t         cr_uid;         /* effective user ID */
                     22:        n_gid_t         cr_gid;         /* effective group ID */
                     23:        n_uid_t         cr_ruid;        /* real user ID */
                     24:        n_gid_t         cr_rgid;        /* real group ID */
                     25:        n_uid_t         cr_suid;        /* "saved" user ID */
                     26:        n_gid_t         cr_sgid;        /* "saved" group ID */
                     27:        n_gid_t       * cr_groups;      /* array of group membership */
                     28: 
                     29:        unsigned long   cr_pad [2];     /* reserved for future use */
                     30: } cred_t;
                     31: 
                     32: #endif /* ! defined (__COMMON__CRED_H__) */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.