tomoyo_create_entry(9)
π tomoyo_create_entry π
okay bestie, welcome to the tomoyo_create_entry(9) page β that's section 9, the Kernel API Manual, so you know it's the grown-up kernel-nerd section β¨ no cap, this is the whole thing and we're gonna get through it together π«Ά
πΈ NAME πΈ
tomoyo_create_entry β literally just creates interface files under the /sys/kernel/security/tomoyo/ directory. that's it, that's the vibe π
β¨ SYNOPSIS β¨
here's the signature, copied exactly because we do not play with function signatures, periodt:
void tomoyo_create_entry (const char *name , const umode_t mode , struct
dentry *parent , const u8 key );
void return, four args, chef's kiss π
π¦ ARGUMENTS π¦
so like, four things go in, and here's what each one is giving:
nameβ the name of the interface file. yep, the literal name, main character energy πmodeβ the permission of the interface file. what it's allowed to do, the whole vibe check π₯parentβ the parent directory. who it lives with, its home base πkeyβ type of interface. the category it belongs to, iykyk π
π DESCRIPTION π
Returns nothing.
that's literally the entire description bestie π no return value, nothing comes back, it just does the thing and dips π lowkey iconic honestly.
π SEE ALSO π
go look at the kernel file ./security/tomoyo/securityfs_if.c for the real source-y tea π and then check out the whole friend group:
tomoyo_check_task_acl(9)tomoyo_write_self(9)tomoyo_read_self(9)tomoyo_open(9)tomoyo_release(9)tomoyo_poll(9)tomoyo_read(9)tomoyo_write(9)tomoyo_interface_init(9)
all nine of them, we did not skip a single one, you're welcome π§
okay quick reminder bestie β this is section 9 kernel API, so don't go typing this into your shell and expecting magic. it's for the kernel girlies π
and that's the page! π sign-off time: this lil number lives under the path ./security/tomoyo, dated October 2026, and it's tomoyo_create_entry(9) all the way through. mwah, go slay your kernel hacking era βπ
π¦ 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