Patch Name: PHKL_25243 Patch Description: s700 10.26 core dump patch Creation Date: 01/09/28 Post Date: 01/10/01 Hardware Platforms - OS Releases: s700: 10.26 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: No Path Name: /hp-ux_patches/s700/10.X/PHKL_25243 Symptoms: PHKL_25243: Partial port of 10.20 patch PHKL_22701. The process creates a core file even if the core file size is set to 0 by setrlimit(2) call. PHKL_20081: A program running at a sensitivity level higher than the sensitivity level of the process's current directory may not be able to dump core. Defect Description: PHKL_25243: Partial port of 10.20 patch PHKL_22701. After setting a size of 0 by setrlimit(2) call, and aborting the process, the process creates a core file of size 0. Which should not have been created as per setrlimit(2) man page. Resolution: The check for size 0 has been added in the code, it won't create core file if the size is 0. PHKL_20081: Core dump handler could not write to directory in all cases. Resolution: During the core dump handler, raise the allowmacwrite privilege to ensure that the write succeeds. SR: 0000000000 Patch Files: /usr/conf/lib/libhp-ux.a(pm_core.o) what(1) Output: /usr/conf/lib/libhp-ux.a(pm_core.o): 01/09/25 kern/sys/pm_core.c, hpux, hpux_10.26, ic5gc Revision 1.10 PATCH_10.26 (PHKL_25243) cksum(1) Output: 2878655828 8648 /usr/conf/lib/libhp-ux.a(pm_core.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_20081 Equivalent Patches: PHKL_25244: s800: 10.26 Patch Package Size: 70 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_25243 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_25243.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_25243. 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 PHKL_25243.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/PHKL_25243.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None