MCTRL-Verify, Utilities, Toggle DCL command procedure verification on and off.?Copyright © 1994 by Brian Schenkenberger. All rights reserved.1 -------------------------KThis software is provided "as is" and is supplied for informational purposeKonly. No warranty is expressed or implied and no liability can be acceptedKfor any actions or circumstances incurred from the use of this software or Kfrom the information contained herein. The author makes no claim as to theKsuitability or fitness of this software or information contained herein fora particular purpose.1 -------------------------KThis software may be copied and distributed only with the inclusion of thiscopyright notice.K>-------------------------------------------------------------------------< *** CTRL-Verify (V2) *** Description: ===========JCTRL-Verify provides the capability to enable and disable DCL command fileCverification by typing a CTRL-V while the procedure is executing. ICTRL-Verify was initially created with the intention of demonstrating theJmechanics for loading code into a process's P1 space on OpenVMS AlphaAXP. JCTRL-Verify demonstrates how to load code into P1 space using a mechanism Iwhich provides a common code base on both OpenVMS platforms, AlphaAXP andVAX.K>-------------------------------------------------------------------------<Release Information:===================4This is an update release of CTRL-Verify. (v2.4%253)HThis release was updated to add several code modifications to allow thisIpackage to be installed for use as an actual system utility. Originally,Ithis package was intended *only* as a demonstration for loading P1 space,Ihowever, a number of sites were using CTRL-Verify wholey for its ability Hto toggle the DCL verify bit. This release supports installing the loadIroutine with privileges. The installation information has been modified Hto detail additional installation requirements. These changes are due toHthe image activator's security counter-measures which will be 'in force'Iwhen the image is installed and are do to the ramifications of installinga routine with privileges.HIn addition, the LOAD_CTRLV program is now executed as a foreign commandGto load the AST code. The addition of the command qualifier, /KEY, canIbe specified with a key-name to associate the CTRL-Verify Out-of-Band AST.with a key other than the default key, CTRL-V.JCTRL-Verify can now be used to establish an out-of-band AST in the contextHof a sub-process. OpenVMS VAX V5.5 or greater and OpenVMS AXP V6.1 willHproperly support this feature. CTRL-Verify may still be used on systemsIprior to these versions, however, the use of the ATTACH command may causeBthe AST not to be delivered in a process which loaded CTRL-Verify.Distribution Information:========================JCTRL-Verify requires both CMEXEC and LOG_IO privilege and executes code inJexecutive and kernel access modes. Therefore, CTRL-Verify is distributed in source form for inspection.*This package contains the following files:)=========================================F$$$CTRL-VERIFY.INFO ...... This file. Background/release information.9BUILD.COM ................ Compile and link the sources. 2DESCRIP.MMS .............. MMS (MMK) build rules. 2LOAD_CTRLV.MAR ........... The CTRL-Verify loader.2VAST_SHARE.MAR ........... The verify AST routine.7CTRLVCMD.CLD ............. The command definition file.9VAST_SHARE.OPT ........... OpenVMS VAX linker option file9VAST_SHARE.AXP_OPT ....... OpenVMS AXP linker option file=CTRLV.CLD ................ Define CTRLV as a DCL command .CLD2CTRLV.RNH ................ RUNOFF help file sourceFINSTALL_CTRLV.TEMPLATE ... A template procedure to install CTRL-VerifyFSTARTUP_CTRLV.TEMPLATE ... A template procedure to startup CTRL-VerifyInstallation Information:========================GThe logical VAST_SHARE must be defined to point to the location of the FP1 AST routine shareable image, VAST_SHARE.EXE, prior to executing theloader image, LOAD_CTRLV.EXE. GWhen the loader image, LOAD_CTRLV.EXE, is installed with the privilegesFCMEXEC and LOG_IO, the VAST_SHARE logical must be defined SYSTEM/EXEC.;$ DEFINE/SYSTEM/EXEC VAST_SHARE {dev}:[{dir}]VAST_SHARE.EXE-----FThe LOAD_CTRLV.EXE routine requires the privileges: CMEXEC and LOG_IO.FLOAD_CTRLV.EXE may be installed with these privileges to permit a non-,privileged user to load the CTRL-Verify AST.>$ INSTALL ADD/PRIV=(CMEXEC,LOG_IO) {dev}:[{dir}]LOAD_CTRLV.EXEHIf the LOAD_CTRLV.EXE image is installed with privileges, VAST_SHARE.EXEmust be installed as well. )$ INSTALL ADD {dev}:[{dir}]VAST_SHARE.EXE-----FThe VAST_SHARE.EXE image must be accessible to the process issuing theGload. If CTRL-Verify is to be executed by all processes on the system,AVAST_SHARE.EXE it should have WORLD:READ,EXECUTE file protection.-----GTo use CTRL-Verify, define the foreign command CTRLV for executing the LOAD_CTRLV.EXE image.+$ CTRLV:==$device:[directory]LOAD_CTRLV.EXEENote: The file CTRLV.CLD is supplied if you wish to add CTRLV to yourDDCL command tables. If you opt to add CTRLV to your command tables,Eyou will need to define the system logical LOAD_CTRLV to point to the%location of the LOAD_CTRLV.EXE image.-----3The CTRL-Verify AST may be loaded with the command:$ CTRLV/KEY=3See the CTRLV.HLP file for the keywords.J--------------------------------------------------------------------------JAny feedback on CTRL-Verify will be greatly appreciated. Send comments orLsuggestions to: or . J--------------------------------------------------------------------------.END.