tomoyo_path_mkdir(9)
π tomoyo_path_mkdir β the kernel API manual, bestie edition β¨
okay so real talk, this is a section 9 kernel API page, the kind of thing you read when you're already deep in kernel land. stay with me though, it's short and honestly kind of iconic π«Ά
πΈ NAME πΈ
tomoyo_path_mkdir β the target for security_path_mkdir(). that's the whole vibe, she's a hook and she knows it π
β¨ SYNOPSIS β¨
int tomoyo_path_mkdir (const struct path *parent , struct dentry *dentry
, umode_t mode );
literally the whole signature, no cap π
π¦ ARGUMENTS π¦
parentβ a pointer to"struct path". yes the quotes are part of the original, don't come for me πdentryβ a pointer to"struct dentry". iconic struct, no notes βmodeβ the DAC permission mode. the permissions, the vibes, the whole mood π
π DESCRIPTION π
so what does she do? she returns 0 on success, and a negative value otherwise. that's it. that's the whole description. short king energy fr fr π
π SEE ALSO π
the kernel file lives at ./security/tomoyo/tomoyo.c and it's giving main character energy, so here's the full friend group, all thirty of them, not one skipped bestie π
tomoyo_domain(9)tomoyo_cred_prepare(9)tomoyo_bprm_committed_creds(9)tomoyo_bprm_creds_for_exec(9)tomoyo_bprm_check_security(9)tomoyo_inode_getattr(9)tomoyo_path_truncate(9)tomoyo_file_truncate(9)tomoyo_path_unlink(9)tomoyo_path_rmdir(9)tomoyo_path_symlink(9)tomoyo_path_mknod(9)tomoyo_path_link(9)tomoyo_path_rename(9)tomoyo_file_fcntl(9)tomoyo_file_open(9)tomoyo_file_ioctl(9)tomoyo_path_chmod(9)tomoyo_path_chown(9)tomoyo_path_chroot(9)tomoyo_sb_mount(9)tomoyo_sb_umount(9)tomoyo_sb_pivotroot(9)tomoyo_socket_listen(9)tomoyo_socket_connect(9)tomoyo_socket_bind(9)tomoyo_socket_sendmsg(9)tomoyo_task_alloc(9)tomoyo_task_free(9)tomoyo_init(9)
go read them. all of them. i'll wait π
and that's the page!! mwah π this cutie comes to you from ./security/tomoyo, dated October 2026, and she answers to the name tomoyo_path_mkdir(9) β periodt π§ββοΈπ
π¦ 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