tomoyo_byte_range(9)
π tomoyo_byte_range β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual, this is the page for tomoyo_byte_range, and it's literally a tiny little vibe-check function, no cap πΈ
β¨ NAME β¨
tomoyo_byte_range β check whether the string is a style octal value.
π¦ SYNOPSIS π¦
bool tomoyo_byte_range (const char *str );
π ARGUMENTS π
strβ pointer to the string. that's it, that's the whole argument, she's lowkey simple π
π DESCRIPTION π
Returns true if str is a style octal value, and false otherwise. yes ma'am, a bool, a yes-or-no, a vibe check that comes back either π or π π₯
TOMOYO uses style representation for 0x01 - 0x20 and 0x7F - 0xFF. this function verifies that is in valid range. so like, she's the bouncer at the club door checking your range, and if you're not in it, bestie you are not getting in π
ngl the ranges above are exact β0x01-0x20and0x7F-0xFFβ don't go rounding them, the function will notice π«Ά
π SEE ALSO π
Kernel file ./security/tomoyo/util.c, plus the whole squad, fr fr:
tomoyo_convert_time(9)tomoyo_permstr(9)tomoyo_read_token(9)tomoyo_get_domainname(9)tomoyo_parse_ulong(9)tomoyo_print_ulong(9)tomoyo_parse_name_union(9)tomoyo_parse_number_union(9)tomoyo_alphabet_char(9)tomoyo_make_byte(9)tomoyo_valid(9)tomoyo_invalid(9)tomoyo_str_starts(9)tomoyo_normalize_line(9)tomoyo_correct_word2(9)tomoyo_correct_word(9)tomoyo_correct_path2(9)tomoyo_correct_path(9)tomoyo_correct_domain(9)tomoyo_domain_def(9)tomoyo_find_domain(9)tomoyo_const_part_length(9)tomoyo_fill_path_info(9)tomoyo_file_matches_pattern2(9)tomoyo_file_matches_pattern(9)tomoyo_path_matches_pattern2(9)tomoyo_path_matches_pattern(9)tomoyo_get_exe(9)tomoyo_get_mode(9)tomoyo_init_request_info(9)tomoyo_domain_quota_is_ok(9)
and that's the whole page, bestie, you ate that πβ¨ this one's brought to you by ./security/tomoyo and dated October 2026 β periodt, go read the next one ππ§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms