Trusted Solaris Developer's Guide

Clients

The following security attribute fields of the CLIENT structure can be accessed directly by the client process:


t6attr_t cl_tsol_incoming_attrsp
t6attr_t cl_tsol_outgoing_attrsp

A client can receive one or more security attributes of incoming server responses by using t6alloc_blk(3NSL) to allocate an opaque structure with space for the attributes and setting cl_tsol_incoming_attrsp field in the CLIENT structure to point to the security attribute structure.

A privileged client can set security attributes on a request to the server by using t6alloc_blk(3NSL) to allocate an opaque structure with space for the security attributes and setting xp_tsol_outgoing_attrsp field in the CLIENT structure to point to the security attribute structure. The RPC library routines pick up the attributes and send them as the attributes for the response.