Document revision date: 15 July 2002 | |
Previous | Contents | Index |
Because this quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because a file specification can include up to 63 characters in addition to a size-byte prefix, the buffer length field of the item descriptor should specify 64 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because the owner name can include up to 31 characters in addition to a size-byte prefix, the buffer length field of the item descriptor should specify 32 (bytes).
Because the paged buffer I/O byte count limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because the paging file quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because the subprocess creation limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
Each bit represents a day of the week, with the bit clear representing a primary day and the bit set representing a secondary day. The $UAIDEF macro defines the following symbolic names for these bits:
UAI$V_MONDAY
UAI$V_TUESDAY
UAI$V_WEDNESDAY
UAI$V_THURSDAY
UAI$V_FRIDAY
UAI$V_SATURDAY
UAI$V_SUNDAY
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A value of --1 indicates that the password is marked as preexpired.
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A quadword of 0 means that none of the password mechanisms will take effect.
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A value of --1 indicates that the password could be marked as preexpired.
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
You can read information written to the user data area from previous versions of the operating system as long as the information written adheres to the guidelines described in the OpenVMS Guide to System Security.
Because the working set extent is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because this quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
The Get User Authorization Information service returns authorization information about a specified user.The contxt value returned by $GETUAI should never be used as a value to the $SETUAI system service.
You examine for a valid login by checking the bits of UAI$V_PWD_EXPIRED and UAI$V_DISUSER, and by doing a comparison of the UAI$_PWD_DATE item code against the UAI$_PWD_LIFETIME item code.
The UAI$V_PWD_EXPIRED bit is only set by the system when the bit UAI$V_DISFORCE_PWD_CHANGE is set in the user's SYSUAF record and the comparison between the UAI$_PWD_DATE and UAI$_PWD_LIFETIME indicates a password is past its valid life.
During a normal login when the UAI$V_DISFORCE_PWD_CHANGE bit is not set, the system compares VAI$_PWD_DATE against UAI$_PWD_LIFETIME and, if expired, forces the user to change the password. With this configuration, the UAI$V_PWD_EXPIRED bit is not set.
During a normal login when the VAI$V_DISFORCE_PWD_EXPIRED is set, the system compares UAI$_PWD_DATE against UAI$_PWD_LIFETIME and, if expired, sets the UAI$_PWD_EXPIRED bit and notifies the user to change the now-expired password. In this case, the user is not forced to change the password.
Use the following list to determine the privileges required to use the $GETUAI service:
- BYPASS or SYSPRV---Allows access to any record in the user authorization file (UAF).
- GRPPRV---Allows access to any record in the UAF whose UIC group matches that of the requester.
- No privilege---Allows access to any UAF record whose UIC matches that of the requester.
You need read access to the UAF to look up any information other than your own.None
$SETUAI
SS$_NORMAL The service completed successfully. SS$_ACCVIO The item list or input buffer cannot be read by the caller; or the return length buffer, output buffer, or status block cannot be written by the caller. SS$_BADPARAM The function code is invalid; the item list contains an invalid item code; a buffer descriptor has an invalid length; or the reserved parameter has a nonzero value. SS$_NOGRPPRV The user does not have the privileges required to examine the authorization information for other members of the UIC group. SS$_NOSYSPRV The user does not have the privileges required to examine the authorization information associated with the user or for users outside of the user's UIC group. RMS$_RSZ The UAF record is smaller than required; the caller's SYSUAF is probably corrupt.
This service can also return OpenVMS RMS status codes associated with operations on indexed files. For example, an inquiry about a nonexistent account returns RMS$_RNF, record not found status. For a description of RMS status codes that are returned by this service, refer to the OpenVMS Record Management Services Reference Manual.
Returns the current time in 128-bit UTC format.On Alpha systems, this service accepts 64-bit addresses.
SYS$GETUTC utcadr
int sys$getutc (unsigned int *utcadr [4]);
utcadr
OpenVMS usage: coordinated universal time type: utc_date_time access: write only mechanism: by 32- or 64-bit reference (Alpha) mechanism: by 32-bit reference (VAX)
The 128-bit time value to be returned.
The Get UTC Time service returns the current system time in 128-bit UTC format. System time is updated every 10 milliseconds.On Alpha systems, the frequency at which system time is updated varies, depending on the clock frequency of the Alpha processor.
None
None
$ASCUTC, $BINUTC, $NUMUTC, $TIMCON
SS$_NORMAL The service completed successfully. SS$_ACCVIO The argument was not accessible for write in the mode of the caller.
On Alpha systems, obtains data from the user image alignment fault buffer if buffered user alignment fault data reporting has been enabled.This service accepts 64-bit addresses.
SYS$GET_ALIGN_FAULT_DATA buffer ,buffer_size ,return_size
int sys$get_align_fault_data (void *buffer, int buffer_size, int *return_size);
buffer
OpenVMS usage: address type: longword (unsigned) access: read/write mechanism: by 32- or 64-bit reference
The user buffer in which the alignment fault data is to be stored. The buffer is the 32- or 64-bit address of this user buffer.buffer_size
OpenVMS usage: byte count type: longword (signed) access: read mechanism: by value
The size, in bytes, of the buffer specified by the buffer argument.return_size
OpenVMS usage: longword_signed type: longword (signed) access: write mechanism: by 32- or 64-bit reference
The amount of data, in bytes, stored in the buffer. The return_size argument is the 32- or 64-bit address of a naturally aligned longword into which the service returns the size of the buffer. The return_size is set to 0 if there is no data in the buffer.
The Get Alignment Fault Data service obtains data from the user image alignment fault buffer if buffered user alignment fault data reporting has been enabled.When buffered user alignment fault data reporting is enabled, the operating system writes each alignment fault into a user-defined buffer. The user must poll this buffer periodically to read the data.
The user must call the $START_ALIGN_FAULT_REPORT service to enable buffered user alignment fault data reporting.
For more information about buffered user alignment fault data reporting, see the $START_ALIGN_FAULT_REPORT system service.
None
None
$GET_SYS_ALIGN_FAULT_DATA, $INIT_SYS_ALIGN_FAULT_REPORT, $PERM_DIS_ALIGN_FAULT_REPORT, $PERM_REPORT_ALIGN_FAULT, $START_ALIGN_FAULT_REPORT, $STOP_ALIGN_FAULT_REPORT, $STOP_SYS_ALIGN_FAULT_REPORT
SS$_NORMAL The service completed successfully. SS$_ACCVIO The buffer named in the buffer argument is not accessible. SS$_AFR_NOT_ENABLED Alignment fault reporting has not been enabled. SS$_BADPARAM The buffer size is smaller than the minimum defined by the AFR$K_USER_LENGTH
symbol.
On Alpha systems, returns information about the exception context for a given arithmetic exception.
SYS$GET_ARITH_EXCEPTION sigarg ,mcharg ,buffer
int sys$get_arith_exception (void *sigarg, void *mcharg, void *buffer);
sigarg
OpenVMS usage: signal array type: vector_longword_signed access: read only mechanism: by reference
Address of the signal array for the given arithmetic exception.mcharg
OpenVMS usage: mech array type: vector_quadword_unsigned access: read only mechanism: by reference
Address of the mechanism array for the given arithmetic exception.buffer
OpenVMS usage: vector_quadword type: vector_quadword_unsigned access: write only mechanism: by descriptor
Four-quadword buffer to receive additional exception context. The buffer argument is the address of a descriptor that points to this buffer.
The Get Arithmetic Exception Information service returns, to the buffer specified by the buffer argument, the following information for a given arithmetic exception in an array of quadwords:
- First quadword, the PC of the triggering instruction in the trap shadow
- Second quadword, a copy of the triggering instruction
- Third quadword, the exception summary
- Fourth quadword, the register write mask
None
None
SS$_NORMAL The service completed successfully. SS$_ACCVIO The specified buffer cannot be written. SS$_BADBUFLEN The specified buffer length is invalid or out of range.
Returns the default transaction of the calling process.
SYS$GET_DEFAULT_TRANS tid
int sys$get_default_trans (unsigned int tid [4]);
tid
OpenVMS usage: trans_id type: octaword (unsigned) access: write only mechanism: by reference
Address of an octaword in which the identifier (TID) of the default transaction of the calling process is returned.
A precondition for the successful completion of $GET_DEFAULT_TRANS is that the calling process must have a default transaction.$GET_DEFAULT_TRANS may fail for various reasons, including:
- The precondition was not met.
- The default transaction was being changed at the time of the call.
The postcondition on successful completion of $GET_DEFAULT_TRANS is described in Table SYS-44:
Table SYS-44 Postcondition When$GET_DEFAULT_TRANS Completes Successfully Postcondition Meaning The identifier of the default transaction of the calling process is returned. The identifier (TID) of the default transaction of the calling process is returned in the tid argument.
None
None
$ABORT_TRANS, $ABORT_TRANSW, $ACK_EVENT, $ADD_BRANCH, $ADD_BRANCHW, $CREATE_UID, $DECLARE_RM, $DECLARE_RMW, $END_BRANCH, $END_BRANCHW, $END_TRANS, $END_TRANSW, $FORGET_RM, $FORGET_RMW, $GETDTI, $GETDTIW, $JOIN_RM, $JOIN_RMW, $SETDTI, $SETDTIW, $SET_DEFAULT_TRANS, $SET_DEFAULT_TRANSW, $START_BRANCH, $START_BRANCHW, $START_TRANS, $START_TRANSW, $TRANS_EVENT, $TRANS_EVENTW
SS$_NORMAL The request was successful. SS$_INSFARGS A required argument was missing. SS$_INSFMEM There was insufficient system dynamic memory for the operation. SS$_NOCURTID The calling process did not have a default transaction. SS$_WRONGSTATE The default transaction was being changed at the time of the call.
Previous | Next | Contents | Index |
privacy and legal statement | ||
4527PRO_067.HTML |