XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT_CHECKED(3)
π xcb_selinux_set_device_create_context β from the xcb_selinux_s...create_context(3) girlies, XCB Requests division π
okay bestie sit DOWN because we're doing a deep dive into a libxcb request and honestly? it's giving niche. it's giving "you're writing SELinux X11 code at 2am." let's get into it π¦
β¨ NAME β¨
xcb_selinux_set_device_create_context</p> β and that's... genuinely it. no little dash-description after it. the manpage said "nope, that's the whole name" and honestly, respect. π
πΈ SYNOPSIS πΈ
first things first, you gotta bring in the header:
#include <xcb/xselinux.h>
π Request function π
xcb_void_cookie_t
xcb_selinux_set_device_create_context(xcb_connection_t *conn,
uint32_t context_len, const char *context);
look at her. three little arguments and a cookie. iconic behavior. π₯
π§ REQUEST ARGUMENTS π§
connβ the XCB connection to X11. your lil portal to the X server, your group chat with the display, your whole entire vibe. π«Άcontext_lenβTODO: NOT YET DOCUMENTED.π yeah bestie, the docs really said "we'll circle back" and then never circled back. no cap, that's literally what it says.contextβTODO: NOT YET DOCUMENTED.π same energy, same silence. the mystery continues.
π DESCRIPTION π
so... the description section is empty. like, void. not a single word. the vibes are immaculate and the information is nonexistent. this section is the main character of absolutely nothing. π
β RETURN VALUE β
she returns an xcb_void_cookie_t. that's right, a whole cookie, and you can't even eat it. π
if there are any errors, you have to handle them in the event loop. that's the deal, that's the contract, no negotiating.
but wait β if you'd rather handle errors directly with xcb_request_check instead, then use xcb_selinux_set_device_create_context_checked (yes, the _checked version, the little sibling who tells you the truth). see xcb-requests(3) for the full details. π
π ERRORS π
This request does never generate any errors.
not a single one. zero. none. error-free queen behavior. slay. β¨
π SEE ALSO π
...nothing here either. empty. a whole section with nothing in it. we love a minimalist aesthetic, I guess. π¦
πΈ AUTHOR πΈ
Generated from xselinux.xml. that's it, that's the origin story β it wasn't born, it was generated. β¨
got corrections or improvements? contact xcb@lists.freedesktop.org. they're literally asking, bestie, they want the feedback. π«Ά
and that's the whole page!! footer tea: this is X Version 11, rocking libxcb 1.17.0, and the page title goes by xcb_selinux_s...create_context(3) (yes, it's truncated like that, and yes, it's still cute). mwah π
ππ
π¦ 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