Trusted Solaris 開発ガイド

特権 ID の説明テキストの取得

get_priv_text(3) ルーチンは、指定された priv_id の説明テキスト (特権について説明するテキスト) を返します。priv_names(4) のマニュアルページには、システム内のすべての特権の説明テキストが示されています。

	string = get_priv_text(priv_id);
 	printf("%s¥n", string);

printf 文によって、次のように出力されます。


Allows a process to write a file or directory whose 
permission bits or ACL do not allow the process write permission.