/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:53 by OpenVMS SDL EV3-3 */ /* Source: 22-NOV-1993 09:46:27 $1$DGA7274:[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 */