man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2014
 
 

XTSOLsetSessionHI(3XTSOL)

Name

XTSOLsetSessionHI - set the session high sensitivity label to the window server

Synopsis

cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h>

Status XTSOLsetSessionHI(display, sl);

Display *display;
m_label_t *sl;

Parameters

display

Specifies a pointer to the Display structure; returned from XOpenDisplay().

sl

Specifies a pointer to a sensitivity label to be used as the session high label.

Description

The XTSOLsetSessionHI() function sets the session high sensitivity label. After the session high label has been set by a Trusted Extensions window system TCB component, logintool, X server 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.

Return Values

None.

Errors

BadAccess

Lack of privilege.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Unsafe

See also

libXtsol(3LIB), XTSOLsetSessionLO(3XTSOL), attributes(5)

Setting the X Window Server Clearance and Minimum Label in Trusted Extensions Developer’s Guide

Notes

The functionality described on this manual page is available only if the system is configured with Trusted Extensions.