tomoyo_path_truncate(9)
β¨ tomoyo_path_truncate β¨
okay so bestie, welcome to the tomoyo_path_truncate(9) page π
this one lives in the Kernel API Manual and it is short, like, blink-and-you-miss-it short, but we're gonna give it the full main character treatment anyway π
πΈ NAME πΈ
tomoyo_path_truncate β literally the target for security_path_truncate(). that's the whole job. she shows up, she gets called, she's iconic π«Ά
β¨ SYNOPSIS β¨
int tomoyo_path_truncate (const struct path *path );
look at her. one argument. no notes. π₯
π¦ ARGUMENTS π¦
pathβ a pointer tostruct path. yep, that's it, that's the whole vibe check. it's a pointer, it points at astruct path, we move on π
π DESCRIPTION π
so what does she actually do? she returns 0 on success, and a negative value otherwise. that's the entire description, no cap π short king behavior fr fr.
lowkey a mood that the whole description is two clauses. she said "my behavior is my business" and honestly? slay.
π SEE ALSO π
bestie the friend group is huge, buckle up π all of these are in the kernel file ./security/tomoyo/tomoyo.c:
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_file_truncate(9)tomoyo_path_unlink(9)tomoyo_path_mkdir(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)
like, the whole squad π«Ά go read them, iykyk β
and that's the page!! mwah π this little gem comes from ./security/tomoyo, dated October 2026, and it's filed under tomoyo_path_truncate(9) β stan her, she's doing her best out here π§π
π¦ 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