00001 #ifndef ossdef_h 00002 #define ossdef_h 00003 00004 #define OSS_M_WLOCK 0x1 00005 #define OSS_M_RELCTX 0x2 00006 #define OSS_M_LOCAL 0x4 00007 00008 struct _ossdef { 00009 struct { 00010 unsigned oss_v_wlock : 1; 00011 unsigned oss_v_relctx : 1; 00012 unsigned oss_v_local : 1; 00013 unsigned oss_v_fill_47_ : 5; 00014 }; 00015 }; 00016 00017 #define OSS__ACCESS_NAMES 1 00018 #define OSS__ACCESS_NAMES_LENGTH 2 00019 #define OSS__ACL_ADD_ENTRY 3 00020 #define OSS__ACL_DELETE_ENTRY 4 00021 #define OSS__ACL_DELETE 5 00022 #define OSS__ACL_DELETE_ALL 6 00023 #define OSS__ACL_FIND_ENTRY 7 00024 #define OSS__ACL_FIND_NEXT 8 00025 #define OSS__ACL_FIND_TYPE 9 00026 #define OSS__ACL_GRANT_ACE 10 00027 #define OSS__ACL_LENGTH 11 00028 #define OSS__ACL_MODIFY_ENTRY 12 00029 #define OSS__ACL_POSITION 13 00030 #define OSS__ACL_POSITION_TOP 14 00031 #define OSS__ACL_POSITION_BOTTOM 15 00032 #define OSS__ACL_READ_ENTRY 16 00033 #define OSS__ACL_READ 17 00034 #define OSS__MAX_CLASS 18 00035 #define OSS__MIN_CLASS 19 00036 #define OSS__NEXT_OBJECT 20 00037 #define OSS__OWNER 21 00038 #define OSS__PROTECTION 22 00039 #define OSS__SYS_PROT 23 00040 #define OSS__OWN_PROT 24 00041 #define OSS__GRP_PROT 25 00042 #define OSS__WOR_PROT 26 00043 #define OSS__CLASS_NAME 27 00044 #define OSS__FIRST_TEMPLATE 28 00045 #define OSS__NEXT_TEMPLATE 29 00046 #define OSS__OBJECT_NAME 30 00047 #define OSS__ACCESS_CLASS_NAME 31 00048 #define OSS__DAMAGED_ACL 32 00049 #define OSS__IN_TRANSITION 33 00050 #define OSS__TRANQUILITY_COUNT 34 00051 #define OSS__ACCESS_BITNAMES 1 00052 #define OSS__ACCESS_BITNAMES_LENGTH 2 00053 #define OSS__ACL_ADDACE 3 00054 #define OSS__ACL_DELACE 4 00055 #define OSS__ACL_FNDACE 7 00056 #define OSS__ACL_FNDNXT 8 00057 #define OSS__ACL_FNDTYP 9 00058 #define OSS__ACL_MODACE 12 00059 #define OSS__ACL_READACE 16 00060 00061 #endif 00062