Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

XTSOLsetSessionLO(3XTSOL)

Name

XTSOLsetSessionLO - set the session low sensitivity label to the window server

Synopsis

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

Status XTSOLsetSessionLO(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 low label.

Description

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

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), XTSOLsetSessionHI(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.