security_class_to_string, security_av_perm_to_string, string_to_secu‐
rity_class, string_to_av_perm, security_av_string, mode_to_secu‐
rity_class - convert between SELinux class and permission values and
string names. print_access_vector - display an access vector in
security_class_to_string() returns a string name for class tclass, or
NULL if the class is invalid. The returned string must not be
modified or freed.
security_av_perm_to_string() returns a string name for the access
vector bit av of class tclass, or NULL if either argument is invalid.
The returned string must not be modified or freed.
security_av_string() computes a full access vector string
representation using tclass and av, which may have multiple bits set.
The string is returned in the memory pointed to by result, and should
be freed by the caller using free(3).
string_to_security_class() returns the class value corresponding to
the string name name, or zero if no such class exists.
mode_to_security_class() returns the class value corresponding to the
specified mode, or zero if no such class exists.
string_to_av_perm() returns the access vector bit corresponding to
the string name name and security class tclass, or zero if no such
print_access_vector() displays an access vector in human-readable
form on the standard output stream.
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
page was obtained from the project's upstream Git repository
⟨https://github.com/SELinuxProject/selinux⟩ on 2020-07-14. (At that
time, the date of the most recent commit that was found in the repos‐
itory was 2020-07-10.) 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 email@example.com
30 Mar 2007 security_class_to_string(3)