| 1 |
.\" Hey Emacs! This file is -*- nroff -*- source. |
| 2 |
.\" |
| 3 |
.\" Author: Eamon Walsh ([email protected]) 2007 |
| 4 |
.TH "selabel_stats" "3" "18 Jun 2007" "" "SELinux API documentation" |
| 5 |
.SH "NAME" |
| 6 |
selabel_stats \- obtain SELinux labeling statistics |
| 7 |
. |
| 8 |
.SH "SYNOPSIS" |
| 9 |
.B #include <selinux/selinux.h> |
| 10 |
.br |
| 11 |
.B #include <selinux/label.h> |
| 12 |
.sp |
| 13 |
.BI "void selabel_stats(struct selabel_handle *" hnd ");" |
| 14 |
. |
| 15 |
.SH "DESCRIPTION" |
| 16 |
.BR selabel_stats () |
| 17 |
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. |
| 18 |
|
| 19 |
The messages are printed to standard error by default; a custom logging function can be provided via |
| 20 |
.BR selinux_set_callback (3). |
| 21 |
. |
| 22 |
.SH "RETURN VALUE" |
| 23 |
None. |
| 24 |
. |
| 25 |
.SH "ERRORS" |
| 26 |
None. |
| 27 |
. |
| 28 |
.SH "AUTHOR" |
| 29 |
Eamon Walsh <[email protected]> |
| 30 |
. |
| 31 |
.SH "SEE ALSO" |
| 32 |
.BR selabel_open (3), |
| 33 |
.BR selabel_lookup (3), |
| 34 |
.BR selinux_set_callback (3), |
| 35 |
.BR selinux (8) |