00001 #ifndef acldef_h 00002 #define acldef_h 00003 00004 #define ACL_K_LENGTH 12 00005 #define ACL_C_LENGTH 12 00006 #define ACL_C_FILE 1 00007 #define ACL_C_DEVICE 2 00008 #define ACL_C_JOBCTL_QUEUE 3 00009 #define ACL_C_COMMON_EF_CLUSTER 4 00010 #define ACL_C_LOGICAL_NAME_TABLE 5 00011 #define ACL_C_PROCESS 6 00012 #define ACL_C_GROUP_GLOBAL_SECTION 7 00013 #define ACL_C_SYSTEM_GLOBAL_SECTION 8 00014 #define ACL_C_CAPABILITY 9 00015 #define ACL_C_EVENT_FACILITY 10 00016 #define ACL_C_LOCK 11 00017 #define ACL_C_VOLUME 12 00018 #define ACL_C_MAX_OBJECT 13 00019 #define ACL_C_NUM_OBJECTS 12 00020 #define ACL_K_NUM_OBJECTS 12 00021 00022 #define ACL_C_ADDACLENT 1 00023 #define ACL_C_DELACLENT 2 00024 #define ACL_C_MODACLENT 3 00025 #define ACL_C_FNDACLENT 4 00026 #define ACL_C_FNDACETYP 5 00027 #define ACL_C_DELETEACL 6 00028 #define ACL_C_READACL 7 00029 #define ACL_C_ACLLENGTH 8 00030 #define ACL_C_READACE 9 00031 #define ACL_C_RLOCK_ACL 10 00032 #define ACL_C_WLOCK_ACL 11 00033 #define ACL_C_UNLOCK_ACL 12 00034 #define ACL_C_GRANT_ACE 13 00035 #define ACL_C_NEXT_ACE 14 00036 #define ACL_C_DELETE_ALL 15 00037 #define ACL_C_RESERVED_ITEM_2 16 00038 #define ACL_C_RESERVED_ITEM_3 17 00039 #define ACL_S_ADDACLENT 255 00040 #define ACL_S_DELACLENT 255 00041 #define ACL_S_MODACLENT 255 00042 #define ACL_S_FNDACLENT 255 00043 #define ACL_S_FNDACETYP 255 00044 #define ACL_S_DELETEACL 255 00045 #define ACL_S_READACL 512 00046 #define ACL_S_ACLLENGTH 4 00047 #define ACL_S_READACE 255 00048 #define ACL_S_RLOCK_ACL 4 00049 #define ACL_S_WLOCK_ACL 4 00050 #define ACL_S_UNLOCK_ACL 4 00051 #define ACL_S_GRANT_ACE 255 00052 #define ACL_S_NEXT_ACE 4 00053 #define ACL_S_DELETE_ALL 255 00054 #define ACL_S_RESERVED_ITEM_2 255 00055 #define ACL_S_RESERVED_ITEM_3 255 00056 #define ACL_C_MAX_SEGMENT_SIZE 512 00057 #define ACL_K_MAX_SEGMENT_SIZE 512 00058 00059 struct _acldef { 00060 unsigned int acl_l_flink; 00061 unsigned int acl_l_blink; 00062 unsigned short int acl_w_size; 00063 unsigned char acl_b_type; 00064 char acldef_$_fill_1; 00065 unsigned int acl_l_list; 00066 }; 00067 00068 #endif 00069 00070