1XTSOLsetPolyInstTIrnufsot(e3dXTESxOtLe)nsions to X Windows LibrXaTrSyOLFsuentcPtoiloynIsnstInfo(3XTSOL)
2
3
4
6 XTSOLsetPolyInstInfo - set polyinstantiation information
7
9 cc [flag...] file... -lX11 -lXtsol [library...]
10 #include <X11/extensions/Xtsol.h>
11
12 Status XTSOLsetPolyInstInfo(display, sl, uidp, enabled);
13
14 Display *display;
15 m_label_t sl;
16 uid_t *uidp;
17 int enabled;
18
19
21 display Specifies a pointer to the Display structure; returned from
22 XOpenDisplay().
23
24
25 sl Specifies the sensitivity label.
26
27
28 uidp Specifies the pointer to UID.
29
30
31 enabled Specifies whether client can set the property information
32 retrieved.
33
34
36 The XTSOLsetPolyInstInfo() function sets the polyinstantiated informa‐
37 tion to get property resources. By default, when a client requests
38 property data for a polyinstantiated property, the data returned corre‐
39 sponds to the SL and UID of the requesting client. To get the property
40 data associated with a property with specific sl and uid, a client can
41 use this call to set the SL and UID with enabled flag to TRUE. The
42 client should also restore the enabled flag to FALSE after retrieving
43 the property value. Client must have the PRIV_WIN_MAC_WRITE and
44 PRIV_WIN_DAC_WRITE privileges.
45
47 None.
48
50 BadAccess Lack of privilege.
51
52
53 BadValue Not a valid display or sl.
54
55
57 See attributes(5) for descriptions of the following attributes:
58
59
60
61
62 ┌───────────────────────────┬───────────────────────────────┐
63 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
64 ├───────────────────────────┼───────────────────────────────┤
65 │Interface Stability │ Committed │
66 ├───────────────────────────┼───────────────────────────────┤
67 │MT-Level │ Unsafe │
68 └───────────────────────────┴───────────────────────────────┘
69
71 libXtsol(3LIB), attributes(5)
72
73
74 Setting Window Polyinstantiation Information in Solaris Trusted Exten‐
75 sions Developer's Guide
76
78 The functionality described on this manual page is available only if
79 the system is configured with Trusted Extensions.
80
81
82
83SunOS 5.11 20 Jul 2007 XTSOLsetPolyInstInfo(3XTSOL)