X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=security%2Ftomoyo%2Futil.c;h=5fe3679137aeb76297305e3e73d7defe3ed4c004;hb=731c7d3a205ba89b475b2aa71b5f13dd6ae3de56;hp=b974a6997d7f8b7a81f8d2062c59a810b0a6c2d7;hpb=c0b59fafe31bf91f589736be304d739b13952fdd;p=cascardo%2Flinux.git diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c index b974a6997d7f..5fe3679137ae 100644 --- a/security/tomoyo/util.c +++ b/security/tomoyo/util.c @@ -666,7 +666,7 @@ void tomoyo_fill_path_info(struct tomoyo_path_info *ptr) ptr->const_len = tomoyo_const_part_length(name); ptr->is_dir = len && (name[len - 1] == '/'); ptr->is_patterned = (ptr->const_len < len); - ptr->hash = full_name_hash(name, len); + ptr->hash = full_name_hash(NULL, name, len); } /**