Patch Name: PHCO_17856 Patch Description: s700_800 10.26 libsecurity cumulative patch Creation Date: 99/03/24 Post Date: 99/04/08 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: BLS.BLS-CORE ProgSupport.PROG-MIN BLS.BLS-ENG-A-MAN Automatic Reboot?: Yes Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_17856 Symptoms: PHCO_17856: We need to create strsecerror function in libsecurity. It should work the same way as psecerror except that it returns the message string instead of sending it to the standard error. PHCO_17760: There is no way to get the classification string from an IR in all Encodings cases. Additionally, the SHORT_WORDS specifier has no effect on the returned classification. It always returns the long form. Defect Description: PHCO_17856: New requirement. Resolution: Create the function and the man page. PHCO_17760: New requirement. Resolution: Provide a new interface to retrieve classification from a valid IR. SR: 0000000000 Patch Files: /tcb/bin/macilbd /usr/include/mandatory.h /usr/lib/libsecurity.1 /usr/lib/libsec.a(mandlib.o) /usr/lib/libsec.a(psecerror.o) /usr/share/man/man3.Z/mand.3 /usr/share/man/man3.Z/mand_ir_to_class_er.3 /usr/share/man/man3.Z/psecerror.3 /usr/share/man/man3.Z/strsecerror.3 what(1) Output: /tcb/bin/macilbd: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ 1999/02/26 Hewlett-Packard HP-UX 10.26 TOS [ ic5bb - DAV17 ] 99/02/26 seccmd/secpolicy/macilbd.c, hpux, hpux_10.2 6, ic5bb Revision 1.6 PATCH_10.26 (PHCO_1776 0) 99/02/26 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5bb Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ ic5ae_DAV17 lib/libc/archive_pa1/libc.a_01 Feb 26 1999 21:34:04 /usr/include/mandatory.h: $Revision: 1.6 include/mandatory.h, hpux, hpux_10.26 , ic5bb $ $Date: 99/02/25 16:11:03 $ Hewlett -Packard Co. */ 99/02/26 include/mandatory.h, hpux, hpux_10.26, ic5b b Revision 1.6 PATCH_10.26 (PHCO_17760) */ /usr/lib/libsecurity.1: 1999/03/23 Hewlett-Packard HP-UX 10.26 TOS [ ic5bo - DAV17 ] 99/03/23 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5bo Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ 99/03/09 lib/libsecurity/psecerror.c, hpux, hpux_10. 26, ic5bo Revision 1.4 PATCH_10.26 (PHCO_178 56) /usr/lib/libsec.a(mandlib.o): 99/02/26 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5bb Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ /usr/lib/libsec.a(psecerror.o): 99/03/09 lib/libsecurity/psecerror.c, hpux, hpux_10. 26, ic5bo Revision 1.4 PATCH_10.26 (PHCO_178 56) /usr/share/man/man3.Z/mand.3: None /usr/share/man/man3.Z/mand_ir_to_class_er.3: None /usr/share/man/man3.Z/psecerror.3: None /usr/share/man/man3.Z/strsecerror.3: None cksum(1) Output: 1617325711 531088 /tcb/bin/macilbd 2696317173 12952 /usr/include/mandatory.h 2681329621 368640 /usr/lib/libsecurity.1 3481558456 13080 /usr/lib/libsec.a(mandlib.o) 23154580 2072 /usr/lib/libsec.a(psecerror.o) 11071229 10246 /usr/share/man/man3.Z/mand.3 11071229 10246 /usr/share/man/man3.Z/mand_ir_to_class_er.3 1539658251 1088 /usr/share/man/man3.Z/psecerror.3 1539658251 1088 /usr/share/man/man3.Z/strsecerror.3 Patch Conflicts: None Patch Dependencies: s700: 10.26: PHKL_17761 s800: 10.26: PHKL_17762 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_17760 Equivalent Patches: None Patch Package Size: 990 KBytes 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. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_17856 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_17856.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_17856.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_17856. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_17856.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_17856.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None