tomoyo_file_truncate(9)
π tomoyo_file_truncate(9) π
okay bestie, welcome to this little page from the Kernel API Manual β¨ it's all about tomoyo_file_truncate(9), and yes, we're gonna get into it.
πΈ NAME πΈ
tomoyo_file_truncate β literally the target for security_file_truncate(). iconic behavior only. π
π¦ SYNOPSIS π¦
int tomoyo_file_truncate (struct file *file );
π ARGUMENTS π
fileβ a pointer tostruct file. that's the whole vibe. π«Ά
β¨ DESCRIPTION β¨
Returns 0 on success, and a negative value otherwise. no cap, that's the tea. π
π SEE ALSO π
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_path_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)
mwah π this lil page comes from ./security/tomoyo, dated October 2026, and it's literally tomoyo_file_truncate(9) β bye bestie π«Άπ
π¦ 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