tomoyo_parse_policy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is tomoyo_parse_policy β€” literally β€œParse a policy line” πŸ’… β€” and it comes to you from the Kernel API Manual. No cap, that's the whole name vibe.

✨ SYNOPSIS ✨

int tomoyo_parse_policy (struct tomoyo_io_buffer *head , char *line );

πŸŽ€ ARGUMENTS πŸŽ€

  • head β€” pointer to struct tomoyo_io_buffer. That's the io-buffer bestie in question, periodt.
  • line β€” the line to parse. Yes, that line. 🫢

πŸ’… DESCRIPTION πŸ’…

It returns 0 on success, and a negative value otherwise. ✨

πŸ”’ Highkey important, bestie: the caller holds tomoyo_read_lock. Do not forget, fr fr.

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./security/tomoyo/common.c β€” and the whole extended fam, every single one:

mwah πŸ’‹ β€” cute sign-off time: this page is from ./security/tomoyo, dated October 2026, and it's tomoyo_parse_policy(9). Slay. πŸŽ€

πŸ“¦ where this page comes from