|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11.1 Information Library|
- set polyinstantiation information
cc [flag...] file... -lX11 -lXtsol [library...] #include <X11/extensions/Xtsol.h> Status XTSOLsetPolyInstInfo(display, sl, uidp, enabled); Display *display; m_label_t sl; uid_t *uidp; int enabled;
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the sensitivity label.
Specifies the pointer to UID.
Specifies whether client can set the property information retrieved.
The XTSOLsetPolyInstInfo() function sets the polyinstantiated information to get property resources. By default, when a client requests property data for a polyinstantiated property, the data returned corresponds to the SL and UID of the requesting client. To get the property data associated with a property with specific sl and uid, a client can use this call to set the SL and UID with enabled flag to TRUE. The client should also restore the enabled flag to FALSE after retrieving the property value. Client must have the PRIV_WIN_MAC_WRITE and PRIV_WIN_DAC_WRITE privileges.
Lack of privilege.
Not a valid display or sl.
See attributes(5) for descriptions of the following attributes:
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.