tomoyo_get_dqword(9)
π tomoyo_get_dqword(9) β the Kernel API Manual, bestie edition β¨
Okay so real talk, this page lives in section 9 of the kernel API manual, and it's literally just tomoyo_get_name() but for a quoted string. That's the whole vibe. Short page, iconic energy, let's get into it π
πΈ NAME πΈ
tomoyo_get_dqword β it's tomoyo_get_name() for a quoted string, periodt. π
β¨ SYNOPSIS β¨
const struct tomoyo_path_info * tomoyo_get_dqword (char *start );
That's the whole signature, copied exactly, no cap. Note the return type is a pointer to const struct tomoyo_path_info and the param is a plain char * named start. π¦
π― ARGUMENTS π―
startβ the string to save. That's it, that's the whole argument. She's a simple girl with one job π«Ά
π DESCRIPTION π
So here's what happens: it returns a pointer to struct tomoyo_path_info on success, and NULL otherwise. That's the entire deal β no surprises, no plot twists, just a happy little pointer or a NULL when things don't work out π
Lowkey the cleanest function description ever written. Respect. π
π₯ SEE ALSO π₯
Kernel file: ./security/tomoyo/condition.c β that's where the magic lives, bestie. Go read it, iykyk.
And then a whole friend group of functions, all in section 9, all here for you:
tomoyo_argv(9)tomoyo_envp(9)tomoyo_scan_bprm(9)tomoyo_scan_exec_realpath(9)tomoyo_parse_name_union_quoted(9)tomoyo_parse_argv(9)tomoyo_parse_envp(9)tomoyo_same_condition(9)tomoyo_condition_type(9)tomoyo_commit_condition(9)tomoyo_get_transit_preference(9)tomoyo_get_condition(9)tomoyo_get_attributes(9)tomoyo_condition(9)
Not a single one skipped, we listed all fourteen because we don't do half-finished over here π
Fr fr go check on tomoyo_parse_name_union_quoted(9) too, it's giving sibling energy and the quoted-string obsession is clearly a family thing π
So that's the page! Happy hacking, and remember: always check your pointers before you dereference them, main character energy only πβ¨
Written with love from ./security/tomoyo β October 2026 edition, slay ππ
π¦ 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