Specifications

Data Structures
1.14 Object Rights Block (ORB)
Table 1–16 Contents of Object Rights Block
Field Name Contents
ORB$L_OWNER UIC of the object’s owner.
ORB$L_ACL_MUTEX Mutex for the object’s ACL, used to control access to the ACL for reading and
writing. The driver-loading procedure initializes this field with 0000FFFF
16
.
ORB$W_SIZE* Size in bytes of ORB. The driver-loading procedure writes the symbolic
constant ORB$K_LENGTH into this field when it creates an ORB.
ORB$B_TYPE* Type of data structure. The driver-loading procedure writes the symbolic
constant DYN$C_ORB into this field when it creates an ORB.
ORB$W_FLAGS Flags needed for interpreting portions of the ORB that can have alternate
meanings. The following fields are defined within ORB$B_FLAGS:
ORB$V_PROT_16 When this flag is set, protection is stored as
one word rather than four longwords.
ORB$V_ACL_QUEUE This flag represents the existence of an ACL
queue.
ORB$V_MODE_VECTOR Use vector mode protection, not byte mode.
ORB$V_NOACL This object cannot have an ACL.
ORB$V_CLASS_PROT Security classification is valid.
ORB$V_NOAUDIT Disables $CHKPRO auditing.
ORB$V_MODE_VALID Access mode protection is valid.
ORB$V_PROFILE_
LOCKED
Object locked, no modification allowed.
This flag is intended to be set when the
profile cannot be modified. The protection
of a volume set may only be altered if the
root volume of the set is mounted, though
mounting a selected volume from a volume
set is supported.
ORB$V_INDIRECT_ACL Use the ACL from the template (ORB$L_
TEMPLATE).
ORB$V_BOOTTIME ORB created prior to security object
initialization.
ORB$V_UNMODIFIED ORB has not been explicitly modified.
ORB$V_DAMAGED Deny access to all but system (BADACL).
ORB$V_TEMPLATE This ORB is a template.
ORB$V_TRANSITION Profile content is uncertain.
ORB$W_REFCOUNT Reference count.
ORB$Q_MODE_PROT Mode protection vector. The low byte of this quadword is known as ORB$B_
MODE.
ORB$L_SYS_PROT System protection field. The low word of this field is known as ORB$W_
PROT and may contain the standard SOGW protection.
ORB$L_OWN_PROT Owner protection field.
ORB$L_GRP_PROT Group protection field.
ORB$L_WOR_PROT World protection field.
ORB$L_ACLFL ACL queue forward link.
ORB$L_ACLBL ACL queue backward link.
(continued on next page)
1–53