System Administration Commands
XTSOLgetClientAttributes(3XTSOL)
XTSOLgetPropAttributes(3XTSOL)
XTSOLgetWorkstationOwner(3XTSOL)
XTSOLsetWorkstationOwner(3XTSOL)
- get all label attributes associated with a window or a pixmap
#include <X11/extensions/Xtsol.h> Status XTSOLgetResAttributes(display, object, type, winattrp); Display *display; XID object; ResourceType type; XTSOLResAttributes *winattrp;
The client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetResAttributes() is used to get all label attributes that are associated with a window or a pixmap in a single call. The attributes include UID, sensitivity label, and workstation owner.
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the ID of a window system object. Possible window system objects are windows and pixmaps.
Specifies what type of resource is being accessed. Possible values are IsWindow and IsPixmap.
Client must provide a pointer to XTSOLResAttributes.
See attributes(5) for descriptions of the following attributes:
|
None
Lack of privilege
Not a valid window
Not a valid pixmap
Not a valid type
XTSOLgetClientAttributes(3XTSOL), XTSOLgetPropAttributes(3XTSOL)
Obtaining Window Attributes in Solaris Trusted Extensions Developer’s Guide