tomoyo_path_chown(9)
π¦ tomoyo_path_chown π¦
okay bestie, this is the tomoyo_path_chown(9) page from the Kernel API Manual β yes, that one β and weβre gonna read it together like itβs the group chat π
β¨ NAME β¨
so tomoyo_path_chown is literally the target for security_path_chown(). thatβs the name, thatβs the vibe, no cap. π
π SYNOPSIS π
the signature is giving:
int tomoyo_path_chown (const struct path *path , kuid_t uid , kgid_t gid
);
π ARGUMENTS π
pathβ pointer tostruct pathβ like, the actual struct, bestie.uidβ owner ID.gidβ group ID.
π₯ DESCRIPTION π₯
this one is short and sweet: it returns 0 on success and a negative value otherwise. thatβs the whole plot. no extra lore, fr fr. β
π SEE ALSO π
the kernel file is ./security/tomoyo/tomoyo.c, and the whole bestie roster is:
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_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_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, your local kernel bestie π§π β source/version: ./security/tomoyo, date: October 2026, page: tomoyo_path_chown(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