tomoyo_byte_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 - 0x20 and 0x7F - 0xFF β€” don't go rounding them, the function will notice 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/util.c, plus the whole squad, fr fr:


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