xcb_selinux_list_properties(3)
π xcb_selinux_list_properties π
okay bestie, welcome to the xcb_selinux_list_properties page, straight out of the XCB Requests section of the manual (section 3, library calls, iykyk). this one's a little baby request that lists SELinux properties on a window and honestly? she's lowkey mysterious because half the fields are literally TODO: NOT YET DOCUMENTED. but we're gonna walk through every single piece of her anyway, no skipping, fr fr. π
β¨ NAME β¨
xcb_selinux_list_properties β and that's it, that's the whole name line. no description given. the manpage said nothing else. iconic silence, honestly. π
β¨ SYNOPSIS β¨
#include <xcb/xselinux.h>
π¦ Request function π¦
xcb_selinux_list_properties_cookie_t
xcb_selinux_list_properties(xcb_connection_t *conn,
xcb_window_t window);
π¦ Reply datastructure π¦
typedef struct xcb_selinux_list_properties_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t properties_len;
uint8_t pad1[20];
} xcb_selinux_list_properties_reply_t;
π¦ Reply function π¦
xcb_selinux_list_properties_reply_t
*xcb_selinux_list_properties_reply(xcb_connection_t *conn,
xcb_selinux_list_properties_cookie_t cookie,
xcb_generic_error_t **e);
π¦ Reply accessors π¦
int xcb_selinux_list_properties_properties_length(const
xcb_selinux_list_properties_reply_t *reply);
xcb_selinux_list_item_iterator_t
xcb_selinux_list_properties_properties_iterator(const
xcb_selinux_list_properties_reply_t *reply);
look at those accessors go, giving main character energy. π₯
πΈ REQUEST ARGUMENTS πΈ
connβ the XCB connection to X11. your link to the server, your emotional support socket. π«Άwindowβ TODO: NOT YET DOCUMENTED. yeah. the manpage just says that. we don't know. nobody told us. it's giving mystery. π
π REPLY FIELDS π
response_typeβ the type of this reply, in this caseXCB_SELINUX_LIST_PROPERTIES. this field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. basically her little name tag so you know which reply just walked in. πsequenceβ the sequence number of the last request processed by the X11 server. the receipt, the tracking number, the "yes I got your message" text. β¨lengthβ the length of the reply, in words (a word is 4 bytes). yes bestie, a word, and it's4bytes. that's just how X rolls. πproperties_lenβ TODO: NOT YET DOCUMENTED. again!! the docs ghosted us on this one too. π
π§ DESCRIPTION π§
β¦and that's the whole section. nothing. empty. the DESCRIPTION section literally contains no words in the original. she said "no thoughts, head empty." πΈ
β RETURN VALUE β
Returns an xcb_selinux_list_properties_cookie_t. that's your cookie, your little ticket to come back and pick up the reply later. π
Errors have to be handled when calling the reply function xcb_selinux_list_properties_reply.
If you want to handle errors in the event loop instead, use xcb_selinux_list_properties_unchecked. See xcb-requests(3) for details.
ok so real talk: pick a lane, bestie. either you deal with errors at reply time, or you go unchecked and catch them in the event loop. don't be chaotic about it. π
π ERRORS π
This request does never generate any errors.
likeβ¦ at all. zero. none. a truly drama-free request. we love a low-maintenance queen. β¨
π SEE ALSO π
β¦this section is empty in the original. no references. she stands alone. independent. no cap. π
π¦ AUTHOR π¦
Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
so if you spot something wrong, that's the address to slide into. polite emails only bestie. π«Ά
and that's the whole page!! mwah. π
X Version 11 Β· libxcb 1.17.0 Β· xcb_selinux_list_properties(3) β that's the footer, and this is me signing off. go forth and list those properties, bestie. periodt. π
β¨π
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms