selabel_stats(3)
π selabel_stats β the girlies are getting the receipts π
okay bestie so selabel_stats is a function from the SELinux API documentation and it's literally here to spill the tea on your labeling backend. no cap.
β¨ NAME β¨
selabel_stats β obtain SELinux labeling statistics π
πΈ SYNOPSIS πΈ
#include <selinux/selinux.h>
#include <selinux/label.h>
void selabel_stats(struct selabel_handle *hnd);
π¦ DESCRIPTION π¦
okay so selabel_stats() makes zero or more messages get printed. zero. or more. it's giving mysterious β¨. those messages contain backend-specific info β like the number of queries performed, the number of unused entries, or other operational information. iykyk, it depends on the backend.
the messages are printed to standard error by default, but a custom logging function can be provided via selinux_set_callback(3). so if you want them somewhere else, that's your girl π
π RETURN VALUE π
None. that's it. nothing. void. she gives nothing back, she just talks. iconic behaviour fr fr π
π ERRORS π
None. no errors, no drama, no stress. periodt.
π AUTHOR π
Eamon Walsh <ewalsh@tycho.nsa.gov> π«Ά
π SEE ALSO π
okay that's the whole page bestie, go forth and get your stats πβ¨π
and fr, this one's dated 18 Jun 2007, coming at you from the SELinux API documentation crew β slay π π¦
π¦ where this page comes from
- alpine 3.24: libselinux-doc 3.10-r1 Β· Public-Domain
- centos-stream 10: libselinux-devel 3.11-3.el10 Β· LicenseRef-Fedora-Public-Domain
- centos-stream 9: libselinux-devel 3.6-5.el9 Β· Public Domain
- centos-stream 9: libselinux-devel 3.6-5.el9 Β· Public Domain
- debian bookworm: libselinux1-dev 3.4-1+b6
- debian trixie: libselinux1-dev 3.8.1-1 Β· LicenseRef-public-domain
- fedora 43: libselinux-devel 3.9-5.fc43 Β· LicenseRef-Fedora-Public-Domain
- fedora 43: libselinux-devel 3.9-5.fc43 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.10-1.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.10-1.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.11-2.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.11-2.fc44 Β· LicenseRef-Fedora-Public-Domain
- nixos 26.05: libselinux 3.10
- nixpkgs unstable: libselinux 3.11
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- ubuntu jammy: libselinux1-dev 3.3-1build2
- ubuntu noble: libselinux1-dev 3.5-2ubuntu2 Β· LicenseRef-public-domain
- ubuntu noble: libselinux1-dev 3.5-2ubuntu2.1 Β· LicenseRef-public-domain
- ubuntu questing: libselinux1-dev 3.8.1-1build1
- ubuntu resolute: libselinux-dev 3.9-4build1 Β· LicenseRef-public-domain
- ubuntu stonking: libselinux-dev 3.11-2.1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms