Jump to content 日本-日本語
日本HPホーム 製品とサービス サポートとドライバ ソリューション ご購入方法
≫ お問い合わせ
日本HPホーム
企業ユーザ向けサポート情報   >  HP-UX サポート  >  セキュリティ報告&パッチダイジェスト翻訳版

PHKL_36153 s700_800 11.23 sem_close(2)/msgseg(5)のマンページパッチ

企業ユーザ向けサポート情報

HP-UX サポート
Tru64 サポート
OpenVMS サポート
セキュリティ報告&パッチダイジェスト翻訳版
技術情報ツリー
ソフトウェアアップデート情報
ITRC日本フォーラム

ITRC

パッチデータベース
技術情報ベースの検索
サポートケースマネージャ
ソフトウェア アップデート マネージャ (SUM)
ご利用の手順
日本HPサイトマップ
コンテンツに進む
パッチ名:   PHKL_36153

パッチ摘要: s700_800 11.23 sem_close(2)/msgseg(5)のマンページパッチ

作成日:  07/03/09

公開日:  07/03/20

ハードウェアプラットフォームおよびOSリリース:

	s700: 11.23
	s800: 11.23

現象:

	PHKL_36153:

	1.(SR:8606456040 CR:JAGag12475)
	複数のsem_open(2)呼び出しを実行する場合のsem_close(2)の使用法が、
	sem_close(2)のマンページでは不明確です。

	2.(SR:8606431565 CR:JAGaf91007)
	Sys V IPCメッセージキューカーネルパラメータ(msgseg * msgssz)に2GBより
	大きな値を設定すると、msgsnd(2)がEAGAINで異常終了します。

問題点の説明:

	PHKL_36153:

	1.(SR:8606456040 CR:JAGag12475)
	sem_open(2)を呼び出すたびに、プロセス内の同じ名前付きセマフォに対して、
	対応するsem_close(2)を呼び出す必要があるのかどうかが、sem_close(2)のマ
	ンページでは不明確でした。

	解決方法:
	同じセマフォに対してsem_close(2)を複数回呼び出すと不定な動作になる可能
	性があることを明記したWARNINGSセクションをsem_close(2)のマンページに追
	加しました。

	2.(SR:8606431565 CR:JAGaf91007)
	Sys V IPCメッセージスペースのサポート対象上限値は2GBです。msgseg(5)の
	マンページに記載されていた上限値は間違っていました。そのため、2GBを超
	える値を設定すると、msgsnd(2)がEAGAINで異常終了していました。

	解決方法:
	msgseg(5)のマンページを修正しました。

-----------------------------------------------------------------------------
Patch Name: PHKL_36153

Patch Description: s700_800 11.23 sem_close(2) and msgseg(5) manpage patch

Creation Date: 07/03/09

Post Date: 07/03/20

Hardware Platforms - OS Releases:
	s700: 11.23
	s800: 11.23

Products: N/A

Filesets:
	OS-Core.KERN-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP
	ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP

Automatic Reboot?: No

Status: General Release

Critical: No

Category Tags:
	defect_repair general_release

Path Name: /hp-ux_patches/s700_800/11.X/PHKL_36153

Symptoms:
	PHKL_36153:
	( SR:8606456040 CR:JAGag12475 )
	Ambiguity in sem_close(2) manpage over usage of multiple
	sem_open(2) call

	( SR:8606431565 CR:JAGaf91007 )
	msgsnd(2) fails with EAGAIN when Sys V IPC message queue
	kernel parameter value (msgseg * msgssz) is set to a value
	greater than 2GB.

Defect Description:
	PHKL_36153:
	( SR:8606456040 CR:JAGag12475 )
	The sem_close(2) manpage is unclear about whether for each
	sem_open(2) call there must be a corresponding sem_close(2)
	call made on the same named semaphore within the process.

	Resolution:
	Added a WARNINGS section to the sem_close(2) man page which
	clarifies that multiple calls to sem_close(2) on the same
	semaphore can result in an undefined behavior.

	( SR:8606431565 CR:JAGaf91007 )
	Sys V IPC message space support is 2GB, there is a mistake
	in the msgseg(5) man page in indicating the limit. Hence,
	msgsnd(2) fails with EAGAIN when trying to set beyond 2GB
	value.

	Resolution:
	Corrected the msgseg(5) manpage to indicate the supported
	limit of 2GB.

Enhancement:
	No

SR:
	8606456040 8606431565

Patch Files:

	OS-Core.KERN-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
		v=HP:
	/usr/share/man/man5.Z/msgseg.5

	ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
		fa=HP-UX_B.11.23_IA/PA,v=HP:
	/usr/share/man/man2.Z/sem_close.2

what(1) Output:

	OS-Core.KERN-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
		v=HP:
	/usr/share/man/man5.Z/msgseg.5:
		None

	ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
		fa=HP-UX_B.11.23_IA/PA,v=HP:
	/usr/share/man/man2.Z/sem_close.2:
		None

cksum(1) Output:

	OS-Core.KERN-ENG-A-MAN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,
		v=HP:
	877024993 2591 /usr/share/man/man5.Z/msgseg.5

	ProgSupport.PAUX-ENG-A-MAN,fr=B.11.23,
		fa=HP-UX_B.11.23_IA/PA,v=HP:
	2033095747 1590 /usr/share/man/man2.Z/sem_close.2

Patch Conflicts: None

Patch Dependencies:
	s700: 11.23: PHKL_31500
	s800: 11.23: PHKL_31500

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

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_36153

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHKL_36153.depot

	By default swinstall will archive the original software in
	/var/adm/sw/save/PHKL_36153.  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_36153.text file is
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHKL_36153.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHKL_36153.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None

ページトップへ
セキュリティ報告&パッチダイジェスト翻訳版に戻る
プライバシー 本サイト利用時の合意事項 ウェブマスターに連絡
© 2008 Hewlett-Packard Development Company, L.P.