Patch Name: PHKL_26034 Patch Description: s700_800 11.00 Enable IDS/9000 support; Fix in adjtime() Creation Date: 02/01/09 Post Date: 02/02/11 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_26034 Symptoms: PHKL_26034: ( SR:8606217508 CR:JAGad86660 ) A call to adjtime() from a 64-bit application on a 64-bit system does not return an error code of EINVAL (invalid argument), as expected, when a value larger than the number of seconds per year is passed in as the time adjustment required. PHKL_21356: ( SR: 8606132619 CR: JAGad01768 ) The Praesidium IDS/9000 product requires this patch in order to run. This patch has no impact on systems without the Praesidium IDS/9000 product installed and enabled. Defect Description: PHKL_26034: ( SR:8606217508 CR:JAGad86660 ) System call adjtime() can behave incorrectly in 64-bit applications when value of tv_sec is above MAX_INT. It does not return EINVAL as expected. The reason is that the parameter tv_sec is cast to int when checking against the limit, and this causes the high order portion of the long input, as well as the sign bit, to be lost. Resolution: The defect described was corrected by retaining the the value and sign of the input parameter tv_sec by casting it approprately when comparing with the limit. PHKL_21356: ( SR: 8606132619 CR: JAGad01768 ) This patch is one of 16 patches (PHKL_21348-PHKL_21363) required by the Praesidium IDS/9000 product. These patches enable the collection and tracking of information from various system calls. Unless all of the enabling patches (or their successors) and the product are installed, and the product is enabled, this patch has no impact on the system. Resolution: This patch enables the gathering of information from the adjtime system call. SR: 8606132619 8606217508 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(pm_adjtime.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(pm_adjtime.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(pm_adjtime.o): pm_adjtime.c $Date: 2002/01/07 13:14:20 $Revision: r 11ros/6 PATCH_11.00 (PHKL_26034) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(pm_adjtime.o): pm_adjtime.c $Date: 2002/01/07 13:14:20 $Revision: r 11ros/6 PATCH_11.00 (PHKL_26034) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 2984769236 6532 /usr/conf/lib/libhp-ux.a(pm_adjtime.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 508272318 13200 /usr/conf/lib/libhp-ux.a(pm_adjtime.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_21356 Equivalent Patches: None Patch Package Size: 40 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 PHKL_26034 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_26034.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_26034. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_26034.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_26034.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_26034.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None