um_types.h File Reference

Go to the source code of this file.

Defines

#define RSBAC_UM_MAX_MAXNUM   1000000
#define RSBAC_UM_USER_LIST_NAME   "um_u."
#define RSBAC_UM_GROUP_LIST_NAME   "um_g."
#define RSBAC_UM_NR_USER_LISTS   8
#define RSBAC_UM_NR_GROUP_LISTS   8
#define RSBAC_UM_USER_LIST_VERSION   1
#define RSBAC_UM_GROUP_LIST_VERSION   1
#define RSBAC_UM_USER_LIST_KEY   6363636
#define RSBAC_UM_GROUP_LIST_KEY   9847298
#define RSBAC_UM_NAME_LEN   16
#define RSBAC_UM_PASS_LEN   24
#define RSBAC_UM_FULLNAME_LEN   30
#define RSBAC_UM_HOMEDIR_LEN   50
#define RSBAC_UM_SHELL_LEN   24
#define DEFAULT_UM_U_ENTRY
#define DEFAULT_UM_G_ENTRY

Typedefs

typedef __s32 rsbac_um_days_t

Enumerations

enum  rsbac_um_mod_t {
  UM_name, UM_pass, UM_fullname, UM_homedir,
  UM_shell, UM_group, UM_lastchange, UM_minchange,
  UM_maxchange, UM_warnchange, UM_inactive, UM_expire,
  UM_ttl, UM_cryptpass, UM_none
}


Define Documentation

#define DEFAULT_UM_G_ENTRY
 

Value:

{ \
      "", /* name */ \
      ""  /* pass */ \
    }

Definition at line 91 of file um_types.h.

#define DEFAULT_UM_U_ENTRY
 

Value:

{ \
      "", /* name */ \
      "", /* pass */ \
      "", /* fullname */ \
      "/home", /* homedir */ \
      "/bin/sh", /* shell */ \
      65534,  /* group */ \
      100000,  /* lastchange */ \
      0,  /* minchange */ \
      365,  /* maxchange */ \
      10,  /* warnchange */ \
      3,  /* inactive */ \
      100000   /* expire */ \
    }

Definition at line 69 of file um_types.h.

#define RSBAC_UM_FULLNAME_LEN   30
 

Definition at line 34 of file um_types.h.

Referenced by rsbac_um_mod_user().

#define RSBAC_UM_GROUP_LIST_KEY   9847298
 

Definition at line 30 of file um_types.h.

Referenced by rsbac_init_um().

#define RSBAC_UM_GROUP_LIST_NAME   "um_g."
 

Definition at line 23 of file um_types.h.

Referenced by rsbac_init_um().

#define RSBAC_UM_GROUP_LIST_VERSION   1
 

Definition at line 28 of file um_types.h.

Referenced by rsbac_init_um().

#define RSBAC_UM_HOMEDIR_LEN   50
 

Definition at line 35 of file um_types.h.

Referenced by rsbac_um_mod_user().

#define RSBAC_UM_MAX_MAXNUM   1000000
 

Definition at line 20 of file um_types.h.

Referenced by sys_rsbac_um_get_gm_list(), sys_rsbac_um_get_gm_user_list(), sys_rsbac_um_get_group_list(), and sys_rsbac_um_get_user_list().

#define RSBAC_UM_NAME_LEN   16
 

Definition at line 32 of file um_types.h.

Referenced by rsbac_um_mod_group(), rsbac_um_mod_user(), sys_rsbac_um_auth_name(), sys_rsbac_um_check_account_name(), sys_rsbac_um_get_gid(), sys_rsbac_um_get_uid(), and sys_rsbac_um_set_pass_name().

#define RSBAC_UM_NR_GROUP_LISTS   8
 

Definition at line 25 of file um_types.h.

Referenced by group_hash().

#define RSBAC_UM_NR_USER_LISTS   8
 

Definition at line 24 of file um_types.h.

Referenced by user_hash().

#define RSBAC_UM_PASS_LEN   24
 

Definition at line 33 of file um_types.h.

Referenced by rsbac_um_add_group(), rsbac_um_add_user(), rsbac_um_check_pass(), rsbac_um_get_group_item(), rsbac_um_get_user_item(), rsbac_um_hash(), rsbac_um_mod_group(), rsbac_um_mod_user(), rsbac_um_set_group_pass(), and rsbac_um_set_pass().

#define RSBAC_UM_SHELL_LEN   24
 

Definition at line 36 of file um_types.h.

Referenced by rsbac_um_mod_user().

#define RSBAC_UM_USER_LIST_KEY   6363636
 

Definition at line 29 of file um_types.h.

Referenced by rsbac_init_um().

#define RSBAC_UM_USER_LIST_NAME   "um_u."
 

Definition at line 22 of file um_types.h.

Referenced by rsbac_init_um().

#define RSBAC_UM_USER_LIST_VERSION   1
 

Definition at line 27 of file um_types.h.

Referenced by rsbac_init_um().


Typedef Documentation

typedef __s32 rsbac_um_days_t
 

Definition at line 38 of file um_types.h.


Enumeration Type Documentation

enum rsbac_um_mod_t
 

Enumeration values:
UM_name 
UM_pass 
UM_fullname 
UM_homedir 
UM_shell 
UM_group 
UM_lastchange 
UM_minchange 
UM_maxchange 
UM_warnchange 
UM_inactive 
UM_expire 
UM_ttl 
UM_cryptpass 
UM_none 

Definition at line 40 of file um_types.h.


Generated on Fri Jun 17 09:45:29 2005 for RSBAC by  doxygen 1.4.2