This function still fails for specific file (and then utility like smackctl will stop without any information which file caused the error). I understand that smack_accesses_apply is not related to file, but it tries to apply rules provided by it, so imho it would be good to know which rules (meaning from which file) caused this function to fail.