tomoyo_inode_getattr(9)
okay so bestie, welcome to the tomoyo_inode_getattr(9) page β Kernel API Manual but make it group-chat. π Weβre keeping every detail, just with better vibes. β¨
β¨ NAME β¨
tomoyo_inode_getattr β the target for security_inode_getattr(). Thatβs the whole name-and-purpose moment, and itβs iconic. π
π¦ SYNOPSIS π¦
Hereβs the signature, character-for-character, no cap:
int tomoyo_inode_getattr (const struct path *path );
π ARGUMENTS π
pathβ a pointer tostruct path. Thatβs the argument, bestie; itβs giving βjust pass the path pointer.β π«Ά
π DESCRIPTION π
Returns 0 on success, negative value otherwise. Literally thatβs the return-value vibe: 0 = success, negative = otherwise. Periodt. β¨
π SEE ALSO π
- Kernel file β
./security/tomoyo/tomoyo.cβ yes, the source file, keep it close. π§
The whole TOMOYO crew, in the exact order from the page:
tomoyo_domain(9)tomoyo_cred_prepare(9)tomoyo_bprm_committed_creds(9)tomoyo_bprm_creds_for_exec(9)tomoyo_bprm_check_security(9)tomoyo_path_truncate(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)
xoxo, from source/version ./security/tomoyo, dated October 2026, and this whole page is tomoyo_inode_getattr(9) π
β¨
π¦ 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