/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:47 by OpenVMS SDL V3.7 */ /* Source: 22-NOV-1993 09:46:27 $1$DGA8345:[LIB_H.SRC]CHPRETDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CHPRETDEF ***/ #ifndef __CHPRETDEF_LOADED #define __CHPRETDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* */ /* CHeck Protection ConTroL RETurn argument block. This block contains */ /* the information needed to return arguments from the protection check. */ /* */ /*- */ #define CHPRET$M_ACMODE 0x1 #define CHPRET$M_MAC 0x2 #define CHPRET$M_DAC 0x4 #define CHPRET$M_MATCHED_ACE 0x8 #define CHPRET$M_SOGW 0x10 #define CHPRET$M_ACL_KEYID 0x20 #define CHPRET$M_IVBUFLEN 0x40 #define CHPRET$K_LENGTH 44 #define CHPRET$C_LENGTH 44 typedef struct _chpret { unsigned int chpret$l_auditlen; /* Size of the audit ACE buffer */ void *chpret$l_audit; /* Address of the audit ACE buffer */ void *chpret$l_auditret; /* Address of word to get ACE length */ unsigned int chpret$l_alarmlen; /* Size of the alarm ACE buffer */ void *chpret$l_alarm; /* Address of the alarm ACE buffer */ void *chpret$l_alarmret; /* Address of word to get ACE length */ unsigned int chpret$l_matched_acelen; /* Size of the matched ACE buffer */ void *chpret$l_matched_ace; /* Address of the matched ACE buffer */ void *chpret$l_matched_aceret; /* Address of word to get ACE length */ void *chpret$l_privs_used; /* Address of longword to get privileges used */ __union { unsigned int chpret$l_progress; /* Protection check progress fl */ __struct { unsigned chpret$v_acmode : 1; /* Access mode check failed */ unsigned chpret$v_mac : 1; /* MAC check failed */ unsigned chpret$v_dac : 1; /* DAC check failed */ unsigned chpret$v_matched_ace : 1; /* matching ACE was located */ unsigned chpret$v_sogw : 1; /* SOGW check was performed */ unsigned chpret$v_acl_keyid : 1; /* An identifier ACE was found in the ACL */ unsigned chpret$v_ivbuflen : 1; /* CHPRET info for auditing is incomplete */ unsigned chpret$v_fill_2_ : 1; } chpret$r_fill_1_; } chpret$r_fill_0_; } CHPRET; #if !defined(__VAXC) #define chpret$l_progress chpret$r_fill_0_.chpret$l_progress #define chpret$v_acmode chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_acmode #define chpret$v_mac chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_mac #define chpret$v_dac chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_dac #define chpret$v_matched_ace chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_matched_ace #define chpret$v_sogw chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_sogw #define chpret$v_acl_keyid chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_acl_keyid #define chpret$v_ivbuflen chpret$r_fill_0_.chpret$r_fill_1_.chpret$v_ivbuflen #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __CHPRETDEF_LOADED */