check_one_file
ret = check_one_file(context, filename, pwd, principal, result);
ret = check_one_file(context, buf, pwd, principal, &result);