Patch Name: PHCO_0455 Patch Description: S700 -- XPG3 conformance for setkey, and encrypt. 1. Setkey() and encrypt() returns ENOSYS for XPG3 conformance According to XPG3, we need to return an errno of ENOSYS if we are not providing the encrypting/decrypting functionality. Programs affected: /lib/libc.a, /lib/libc.sl, /lib/libp/libc.a, crypt.3c, encrypt.3c, setkey.3c File Fixed: crypt.c, crypt.3c Symptoms: Currently, one can encrypt but cannot decrypt. Fix: Setkey() and encrypt() now set errno to ENOSYS and simply return without encrypting as required for XPG3 Conformance. Path Name: /hp-ux_patches/s700/8.X/PHCO_0455 Effective Date: 911021 Patch Files: /system/PHCO_0455/new/libc.a /system/PHCO_0455/new/libc.sl /system/PHCO_0455/new/libc_p.a /system/PHCO_0455/new/crypt.3c SR/APR#: 5003-009811, 1653-001669, 5003-014720 "what" string/timestamp: /lib/libc.a: $Revision: 66.603.2.3 $ /lib/libc.sl: $Revision: 66.603.2.3 $ /lib/libp/libc.a: $Revision: 66.603.2.3 $ crypt.3c: (None) "sum" output: /lib/libc.a: 37709 2755 /lib/libc.sl: 23661 1816 /lib/libp/libc.a: 50351 2964 crypt.3c: 26188 4 (the compress version in /usr/man/man3.Z/crypt.3c) Dependencies: This patch should be applied to HP-UX 8.05 Supersedes: All previous 8.05 /lib/libc patches Patch Package Size: 4 Mbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHCO_0455). To install this patch do the following: 1) Run the "/etc/update" program (Note: you must be root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHCO_0455.updt" (this assumes that you are in the directory where PHCO_0455.updt has been placed). You must type in the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. 7) After exiting update, you need to reboot the system to activate the new /lib/libc.sl file. Run "/etc/reboot" as root. 8) After rebooting, if /lib/#libc.sl exist, you may move it to /system/PHCO_0455/orig/libc.sl for archival or remove it to save space. The customized script that update runs will move the original software to /system/PHCO_0455/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHCO_0455.text file to /system/PHCO_0455 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHCO_0455.updt of=/dev/rmt/0m bs=2048