1XTSOLsetPropUID(T3rXuTsStOeLd)Extensions to X Windows Library FXuTnScOtLisoentsPropUID(3XTSOL)
2
3
4
6 XTSOLsetPropUID - set the UID associated with a property hanging on a
7 window
8
10 cc [flag...] file... -lX11 -lXtsol [library...]
11 #include <X11/extensions/Xtsol.h>
12
13 Status XTSOLsetPropUID(display, window, property, uidp);
14
15 Display *display;
16 Window window;
17 Atom property;
18 uid_t *uidp;
19
20
22 display Specifies a pointer to the Display structure; returned from
23 XOpenDisplay().
24
25
26 window Specifies the ID of the window whose property's UID you
27 want to change.
28
29
30 property Specifies the property atom.
31
32
33 uidp Specifies a pointer to a uid_t that contains a UID.
34
35
37 The XTSOLsetPropUID() function changes the ownership of a window's
38 property. This allows another client to modify a property of a window
39 that it did not create. The client must have the PRIV_WIN_DAC_WRITE and
40 PRIV_WIN_MAC_WRITE privileges.
41
43 None.
44
46 BadAccess Lack of privilege.
47
48
49 BadWindow Not a valid window.
50
51
52 BadAtom Not a valid atom.
53
54
56 See attributes(5) for descriptions of the following attributes:
57
58
59
60
61 ┌───────────────────────────┬───────────────────────────────┐
62 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
63 ├───────────────────────────┼───────────────────────────────┤
64 │Interface Stability │ Committed │
65 ├───────────────────────────┼───────────────────────────────┤
66 │MT-Level │ Unsafe │
67 └───────────────────────────┴───────────────────────────────┘
68
70 libXtsol(3LIB), XTSOLgetPropAttributes(3XTSOL), XTSOLget‐
71 PropUID(3XTSOL), attributes(5)
72
74 The functionality described on this manual page is available only if
75 the system is configured with Trusted Extensions.
76
77
78
79SunOS 5.11 20 Jul 2007 XTSOLsetPropUID(3XTSOL)