Patch Name: PHKL_24080 Patch Description: s700 10.20 umask(2) lightweight system call fix Creation Date: 01/05/08 Post Date: 01/05/21 Hardware Platforms - OS Releases: s700: 10.20 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_24080 Symptoms: PHKL_24080: (SR: 8606181334 CR: JAGad50551) umask(1) may incorrectly set file permission bits. Defect Description: PHKL_24080: (SR: 8606181334 CR: JAGad50551) The lightweight version of the umask(2) system call was incorrectly manipulating 12 bits of the file permission bits instead of the correct number of 9 bits. Resolution: Modify the lightweight version of the umask(2) system call to manipulate only 9 file permission bits instead of 12. SR: 8606181334 Patch Files: /usr/conf/lib/libhp-ux.a(lw_scall.o) what(1) Output: /usr/conf/lib/libhp-ux.a(lw_scall.o): lw_scall.s $Date: 2001/05/08 06:54:09 $ $Revision : 1.18.98.8 $ PATCH_10.20 (PHKL_24080) cksum(1) Output: 2853923494 7008 /usr/conf/lib/libhp-ux.a(lw_scall.o) Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_24081: s800: 10.20 Patch Package Size: 60 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_24080 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_24080.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_24080. 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_24080.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_24080.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750 . For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.