1XTSOLsetWorkstatTirounsOtwenderE(x3tXeTnSsOiLo)ns to X WindowsXLTiSbOrLasreytWFournkcsttiaotnisonOwner(3XTSOL)
2
3
4
6 XTSOLsetWorkstationOwner - set the ownership of the workstation
7
9 cc [flag...] file... -lX11 -lXtsol [library...]
10 #include <X11/extensions/Xtsol.h>
11
12 Status XTSOLsetWorkstationOwner(display, uidp);
13
14 Display *display;
15 uid_t *uidp;
16 XTSOLClientAttributes *clientattrp;
17
18
20 display Specifies a pointer to the Display structure; returned from
21 XOpenDisplay().
22
23
24 uidp Specifies a pointer to a uid_t structure that contains a
25 UID.
26
27
29 The XTSOLsetWorkstationOwner() function is used by the Solaris Trusted
30 Extensions logintool to assign a user ID to be identified as the owner
31 of the workstation server. The client running under this user ID can
32 set the server's device objects, such as keyboard mapping, mouse map‐
33 ping, and modifier mapping. The client must have the Trusted Path
34 process attribute.
35
37 None.
38
40 BadAccess Lack of privilege.
41
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌───────────────────────────┬───────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├───────────────────────────┼───────────────────────────────┤
52 │Interface Stability │ Committed │
53 ├───────────────────────────┼───────────────────────────────┤
54 │MT-Level │ Unsafe │
55 └───────────────────────────┴───────────────────────────────┘
56
58 libXtsol(3LIB), XTSOLgetWorkstationOwner(3XTSOL), attributes(5)
59
60
61 Accessing and Setting a Workstation Owner ID in Solaris Trusted Exten‐
62 sions Developer's Guide
63
65 The functionality described on this manual page is available only if
66 the system is configured with Trusted Extensions.
67
68
69
70SunOS 5.11 20 Jul 2007 XTSOLsetWorkstationOwner(3XTSOL)