Query: matchpathcon_filespec_eval
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
matchpathcon_checkmatches(3) SELinux API documentation matchpathcon_checkmatches(3)NAMEmatchpathcon_checkmatches, matchpathcon_filespec_add, matchpathcon_filespec_destroy, matchpathcon_filespec_eval - check and report whether any specification index has no matches with any inode. Maintenance and statistics on inode associationsSYNOPSIS#include <selinux/selinux.h> void matchpathcon_checkmatches(char *str); int matchpathcon_filespec_add(ino_t ino, int specind, const char *file); void matchpathcon_filespec_destroy(void); void matchpathcon_filespec_eval(void);DESCRIPTIONmatchpathcon_checkmatches() checks whether any specification has no matches and reports them. The str argument is used as a prefix for any warning messages. matchpathcon_filespec_add() maintains an association between an inode ino and a specification index specind, and checks whether a conflict- ing specification is already associated with the same inode (e.g. due to multiple hard links). If so, then it uses the latter of the two specifications based on their order in the file context configuration. Returns the specification index used or -1 on error. matchpathcon_filespec_destroy() destroys any inode associations that have been added, e.g. to restart for a new filesystem. matchpathcon_filespec_eval() displays statistics on the hash table usage for the inode associations.RETURN VALUEReturns zero on success or -1 otherwise.SEE ALSOselinux(8), matchpathcon(3), matchpathcon_index(3), freecon(3), setfilecon(3), setfscreatecon(3) sds@tycho.nsa.gov 21 November 2009 matchpathcon_checkmatches(3)
Related Man Pages |
---|
matchpathcon_filespec_add(3) - debian |
matchpathcon_fini(3) - debian |
matchpathcon_filespec_add(3) - centos |
matchpathcon_index(3) - centos |
matchpathcon_init(3) - centos |
Similar Topics in the Unix Linux Community |
---|
FS inode 58% |
how inode works |
How to access inode information |
Help Me..! |
How to reduce inode size of /var? |