1selabel_partial_match(3) SELinux API documentation selabel_partial_match(3)
2
3
4
6 selabel_partial_match - determine whether a direct or partial match is
7 possible on a file path - Only supported on file backend.
8
10 #include <stdbool.h>
11 #include <selinux/selinux.h>
12 #include <selinux/label.h>
13
14 bool selabel_partial_match(struct selabel_handle *hnd,
15 const char *key);
16
18 selabel_partial_match() performs a partial match operation on the han‐
19 dle hnd, returning TRUE or FALSE. The key parameter is a file path to
20 check for a direct or partial match.
21
22
24 TRUE is returned if a direct or partial match is found, FALSE if not.
25
26
28 selabel_open(3), selabel_stats(3), selinux_set_callback(3), selinux(8),
29 selabel_file(5)
30
31
32
33Security Enhanced Linux 05 May 2015 selabel_partial_match(3)