Contenues dansTrouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (937 Ko)
X Library ExtensionsXTSOLgetClientAttributes(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetClientAttributes(display, windowid, clientattr); Display *display; XID windowid; XTsolClientAttributes *clientattrp; DescriptionXTSOLgetClientAttributes() is used to get all label attributes that are associated with a client in a single call. The attributes include process ID, user ID, IP address, audit flags and session ID. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoSunOS 5.10 Last Revised 10 Aug 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetPropAttributes(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetPropAttributes(display, window, property, propattrp); Display *display; Window window; Atom property; XTSOLPropAttributes *propattrp; DescriptionThe client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetPropAttributes() is used to get the label attributes that are associated with a property hanging out of a window in a single call. The attributes include UID and sensitivity label. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetClientAttributes(3XTSOL), XTSOLgetResAttributes(3XTSOL) Setting Window Polyinstantiation Information in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetPropLabel(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetPropLabel(display, window, property, sl); Display *display; Window window; Atom property; m_label_t *sl; DescriptionClient requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetPropLabel() is used to get the sensitivity label that is associated with a property hanging on a window. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetPropAttributes(3XTSOL), XTSOLsetPropLabel(3XTSOL) Setting Window Polyinstantiation Information in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetPropUID(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetPropUID (display, window, property, uidp); Display *display; Window window; Atom property; uid_t *uidp; DescriptionThe client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetPropUID() gets the ownership of a window's property. This allows a client to get the ownership of an object it did not create. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetPropAttributes(3XTSOL), XTSOLsetPropUID(3XTSOL) Setting Window Polyinstantiation Information in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetResAttributes(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetResAttributes(display, object, type, winattrp); Display *display; XID object; ResourceType type; XTSOLResAttributes *winattrp; DescriptionThe 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. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone Errors
See AlsoXTSOLgetClientAttributes(3XTSOL), XTSOLgetPropAttributes(3XTSOL) Obtaining Window Attributes in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetResLabel(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetResLabel(display, object, type, sl); Display *display; XID object; ResourceType type; m_label_t *sl; DescriptionThe client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetResLabel() is used to get the label that is associated with a window or a pixmap or a colormap. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetClientAttributes(3XTSOL), XTSOLsetResLabel(3XTSOL) Obtaining a Window Label in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetResUID(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetResUID(display, object, type, uidp); Display *display; XID object; ResourceType type; uid_t *uidp; DescriptionThe client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. XTSOLgetResUID() gets the ownership of a window system object. This allows a client to get the ownership of an object that the client did not create. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone Errors
See AlsoXTSOLgetClientAttributes(3XTSOL), XTSOLgetResAttributes(3XTSOL), XTSOLgetResLabel(3XTSOL) Obtaining the Window User ID in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetSSHeight(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetSSHeight(display, screen_num, newheight); Display *display; int screen_num; int *newheight; DescriptionXTSOLgetSSHeight() gets the height of trusted screen stripe at the bottom of the screen. Currently the screen stripe is only present on the default screen. Client must have the Trusted Path process attribute. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLgetWorkstationOwner(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLgetWorkstationOwner(display, uidp); Display *display; uid_t *uidp; DescriptionParameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone. ErrorsSee AlsoXTSOLsetWorkstationOwner(3XTSOL) Obtaining the X Window Server Workstation Owner ID in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLIsWindowTrusted(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors NAME
Synopsis#include <X11/extensions/Xtsol.h> Bool XTSOLIsWindowTrusted(display, window); Display *display; Window window; DescriptionXTSOLIsWindowTrusted() tests if a window is created by a trusted client. The window created by a trusted client has a special bit turned on. The client does not require any privilege to perform this operation. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesErrorsSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors XTSOLMakeTPWindow(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLMakeTPWindow(display, w); Display *display; Window w; DescriptionXTSOLMakeTPWindow() is used to make a window a trusted path window. Trusted Path windows always remain on top of other windows. The client must have the Trusted Path process attribute set. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors XTSOLsetPolyInstInfo(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetPolyInstInfo(display, sl, uidp, enabled); Display *display; m_label_t sl; uid_t *uidp; int enabled; DescriptionXTSOLsetPolyInstInfo() 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. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetPropLabel(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetPropLabel(*display, window, property, *sl); Display *display; Window window; Atom property; m_label_t *sl; DescriptionXTSOLsetPropLabel() is used to change the sensitivity label that is associated with a property hanging on a window. The client must have the PRIV_WIN_DAC_WRITE, PRIV_WIN_MAC_WRITE, and PRIV_WIN_UPGRADE_SL privileges. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone Errors
See AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetPropUID(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetPropUID(display, window, property, uidp); Display *display; Window window; Atom property; uid_t *uidp; DescriptionXTSOLsetPropUID() changes the ownership of a window's property. This allows another client to modify a property of a window that it did not create. The client must have the PRIV_WIN_DAC_WRITE and PRIV_WIN_MAC_WRITE privileges. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetResLabel(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetResLabel(display, object, type, sl); Display *display; XID object; ResourceType type; m_label_t *sl; DescriptionThe client must have the PRIV_WIN_DAC_WRITE, PRIV_WIN_MAC_WRITE, PRIV_WIN_UPGRADE_SL, and PRIV_WIN_DOWNGRADE_SL privileges. XTSOLsetResLabel() is used to change the label that is associated with a window or a pixmap. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetResAttributes(3XTSOL), XTSOLgetResLabel(3XTSOL) Setting a Window Label in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetResUID(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetResUID(display, object, type, uidp); Display *display; XID object; ResourceType type; uid_t *uidp; DescriptionThe client must have the PRIV_WIN_DAC_WRITE and PRIV_WIN_MAC_WRITE privileges. XTSOLsetResUID() changes the ownership of a window system object. This allows a client to create an object and then change its ownership. The new owner can then make modifications on this object as this object being created by itself. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone Errors
See AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetSessionHI(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetSessionHI(display, sl); Display *display; m_label_t *sl; DescriptionXTSOLsetSessionHI() After the session high label has been set by a Trusted Extensions window system TCB component, logintool, Xsun will reject connection request from clients running at higher sensitivity labels than the session high label. The client must have the PRIV_WIN_CONFIG privilege. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoNAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetSessionLO(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetSessionLO(display, sl); Display *display; m_label_t *sl; DescriptionXTSOLsetSessionLO() sets the session low sensitivity label. After the session low label has been set by a Trusted Extensions window system TCB component, logintool, Xsun will reject a connection request from a client running at a lower sensitivity label than the session low label. The client must have the PRIV_WIN_CONFIG privilege. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoNAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetSSHeight(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetSSHeight(display, screen_num, newheight); Display *display; int screen_num; int newheight; DescriptionXTSOLsetSSHeight() sets the height of the trusted screen stripe at the bottom of the screen. Currently the screen stripe is present only on the default screen. The client must have the Trusted Path process attribute. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoSunOS 5.10 Last Revised 26 Jun 2006NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also XTSOLsetWorkstationOwner(3XTSOL)NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also NAME
Synopsis#include <X11/extensions/Xtsol.h> Status XTSOLsetWorkstationOwner(display, uidp); Display *display; uid_t *uidp; XTSOLClientAttributes *clientattrp; DescriptionXTSOLsetWorkstationOwner() is used by the Solaris Trusted Extensions logintool to assign a user ID to be identified as the owner of the workstation server. The client running under this user ID can set the server's device objects, such as keyboard mapping, mouse mapping, and modifier mapping. The client must have the Trusted Path process attribute. Parameters
AttributesSee attributes(5) for descriptions of the following attributes:
Return ValuesNone ErrorsSee AlsoXTSOLgetWorkstationOwner(3XTSOL) Accessing and Setting a Workstation Owner ID in Solaris Trusted Extensions Developer’s Guide NAME | Synopsis | Description | Parameters | Attributes | Return Values | Errors | See Also |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||