Home
last modified time | relevance | path

Searched refs:tomoyo_correct_word2 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/security/tomoyo/
H A Dutil.c427 * tomoyo_correct_word2 - Validate a string.
435 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2() function
515 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word()
531 return cp1 && (!cp2 || (cp1 < cp2)) && tomoyo_correct_word2(filename, len); in tomoyo_correct_path2()
593 !tomoyo_correct_word2(buffer + 1, len - 2)) in tomoyo_domain_def()
/kernel/linux/linux-6.6/security/tomoyo/
H A Dutil.c427 * tomoyo_correct_word2 - Validate a string.
435 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2() function
520 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word()
536 return cp1 && (!cp2 || (cp1 < cp2)) && tomoyo_correct_word2(filename, len); in tomoyo_correct_path2()
598 !tomoyo_correct_word2(buffer + 1, len - 2)) in tomoyo_domain_def()

Completed in 3 milliseconds