NAME

selabel_partial_match - determine whether a direct or partial match is possible on a file path - Only supported on file backend.

SYNOPSIS

#include <stdbool.h>
 
#include <selinux/selinux.h>
 
#include <selinux/label.h>
 
bool selabel_partial_match(struct selabel_handle *hnd,
const char *key);

DESCRIPTION

selabel_partial_match() performs a partial match operation on the handle hnd, returning TRUE or FALSE. The key parameter is a file path to check for a direct or partial match.
 

RETURN VALUE

TRUE is returned if a direct or partial match is found, FALSE if not.
 

SEE ALSO

selabel_open(3), selabel_stats(3), selinux_set_callback(3), selinux(8), selabel_file(5)

Recommended readings

Pages related to selabel_partial_match you should read also:

Questions & Answers

Helpful answers and articles about selabel_partial_match you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search