selabel_partial_match(3)

✨ NAME ✨

okay bestie, say hi to selabel_partial_match πŸ’– β€” it determines whether a direct or partial match is possible on a file path. Only supported on file backend. no cap.


🌸 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. it’s giving β€œdoes this path match, or could it match?” energy πŸ”₯

heads up bestie: this one is Only supported on file backend. πŸ’…

🫢 RETURN VALUE 🫢

TRUE is returned if a direct or partial match is found, FALSE if not. periodt. πŸ’–


🌈 SEE ALSO 🌈


mwah πŸ’‹ this page came from Security Enhanced Linux, dated 05 May 2015, and yes it’s the selabel_partial_match(3) manual. stay iconic πŸŽ€βœ¨

πŸ“¦ where this page comes from