/* * * Item definitions for the $CHKPRO (check protection) service. */ #ifndef _CHPDEF_H #define _CHPDEF_H #define CHP$_END 0 /* list end */ #define CHP$_ACCESS 1 /* intended access */ #define CHP$_FLAGS 2 /* read / write flags */ #define CHP$_PRIV 3 /* privilege mask */ #define CHP$_ACMODE 4 /* accessor access mode */ #define CHP$_ACCLASS 5 /* accessor security classification */ #define CHP$_RIGHTS 6 /* rights list */ #ifndef NO_VMS_V6 #define CHP$_ADD_RIGHTS 7 /* additional rights list segments */ #endif #define CHP$_ADDRIGHTS 7 /* additional rights list segments */ #define CHP$_MODE 8 /* simple access mode */ #define CHP$_MODES 9 /* per action access mode */ #ifndef NO_VMS_V6 #define CHP$_MIN_CLASS 10 /* minimum security classification */ #define CHP$_MAX_CLASS 11 /* maximum security classification */ #endif #define CHP$_MINCLASS 10 /* minimum security classification */ #define CHP$_MAXCLASS 11 /* maximum security classification */ #define CHP$_OWNER 12 /* object owner UIC */ #define CHP$_PROT 13 /* protection mask */ #define CHP$_ACL 14 /* access control list segment */ #ifndef NO_VMS_V6 #define CHP$_AUDIT_NAME 15 /* audit names returned */ #define CHP$_ALARM_NAME 16 /* alarm names returned */ #define CHP$_MATCHED_ACE 17 /* address of matching ACE */ #endif #define CHP$_AUDITNAME 15 /* security audit name */ #define CHP$_ALARMNAME 16 /* security alarm name */ #define CHP$_MATCHEDACE 17 /* address of matching ACE */ #define CHP$_PRIVUSED 18 /* mask of privileges used */ #ifndef NO_VMS_V6 #define CHP$_AUDIT_LIST 19 /* address of supplemental audit item list */ #define CHP$_OBJECT_NAME 20 /* object name descriptor */ #define CHP$_OBJECT_CLASS 21 /* object class name descriptor */ #define CHP$_UIC 22 /* accessor UIC */ #define CHP$_OBJECT_SPECIFIC 23 /* object specific longword (for OSR) */ #define CHP$_MAX_CODE 24 /* highest CHP$ item code */ #else #define CHP$_MAX_CODE 19 /* highest CHP$ item code */ #endif #ifndef NO_VMS_V6 #define CHP$_CLASS 5 #define CHP$K_MATCHED_ACE_LENGTH 255 #define CHP$K_ALARM_LENGTH 768 #define CHP$K_AUDIT_LENGTH 1560 #endif #define CHP$V_SYSPRV 0 #define CHP$V_BYPASS 1 #define CHP$V_UPGRADE 2 #define CHP$V_DOWNGRADE 3 #define CHP$V_GRPPRV 4 #define CHP$V_READALL 5 #define CHP$V_OPER 6 #define CHP$V_GRPNAM 7 #define CHP$V_SYSNAM 8 #define CHP$V_GROUP 9 #define CHP$V_WORLD 10 #define CHP$V_PRMCEB 11 #define CHP$M_SYSPRV (1<