selabel_stats(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | AUTHOR | SEE ALSO | COLOPHON

selabel_stats(3)        SELinux API documentation       selabel_stats(3)

NAME         top

       selabel_stats - obtain SELinux labeling statistics

SYNOPSIS         top

       #include <selinux/selinux.h>
       #include <selinux/label.h>

       void selabel_stats(struct selabel_handle *hnd);

DESCRIPTION         top

       selabel_stats() causes zero or more messages to be printed
       containing backend-specific information about number of queries
       performed, number of unused entries, or other operational
       information.

       The messages are printed to standard error by default; a custom
       logging function can be provided via selinux_set_callback(3).

RETURN VALUE         top

       None.

ERRORS         top

       None.

AUTHOR         top

       Eamon Walsh <ewalsh@tycho.nsa.gov>

SEE ALSO         top

       selabel_open(3), selabel_lookup(3), selinux_set_callback(3),
       selinux(8)

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-
       space libraries and tools) project.  Information about the
       project can be found at 
       ⟨https://github.com/SELinuxProject/selinux/wiki⟩.  If you have a
       bug report for this manual page, see
       ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/SELinuxProject/selinux⟩ on 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-05-11.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

                               18 Jun 2007              selabel_stats(3)

Pages that refer to this page: selabel_lookup(3)selabel_lookup_best_match(3)selabel_open(3)selabel_partial_match(3)selabel_db(5)selabel_file(5)selabel_media(5)selabel_x(5)restorecon(8)setfiles(8)