audit_compare_dname_path(9) - phpMan
AUDIT_COMPARE_DNAME_(9) Audit Interfaces AUDIT_COMPARE_DNAME_(9)
audit_compare_dname_path - compare given dentry name with last component in given path.
Return of 0 indicates a match.
int audit_compare_dname_path(const char * dname, const char * path, int parentlen);
dentry name that we're comparing
full pathname that we're comparing
length of the parent if known. Passing in AUDIT_NAME_FULL here indicates that we must
compute this value.
Kernel Hackers Manual 4.8. January 2017 AUDIT_COMPARE_DNAME_(9)