tomoyo_socket_bind(9)
π tomoyo_socket_bind(9) π
okay bestie, welcome to the Kernel API Manual β this page is literally all about tomoyo_socket_bind, and it's giving "small but important permission-check moment" energy. π
β¨ NAME β¨
tomoyo_socket_bind β check permission for bind().
πΈ SYNOPSIS πΈ
int tomoyo_socket_bind (struct socket *sock , struct sockaddr *addr ,
int addr_len );
π¦ ARGUMENTS π¦
sockβ pointer tostruct socket. That's the whole assignment, bestie.addrβ pointer tostruct sockaddr. Okay, iconic.addr_lenβ size ofaddr. Noted and slayed. β¨
π DESCRIPTION π
Returns 0 on success, and a negative value otherwise. That's it β short, sweet, and lowkey doing its job. π«Ά
π SEE ALSO π
The kernel file is ./security/tomoyo/tomoyo.c, and the see-also squad is right here β no cap, every single one:
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_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_sendmsg(9)tomoyo_task_alloc(9)tomoyo_task_free(9)tomoyo_init(9)
Signed off from ./security/tomoyo, stamped October 2026, and filed under tomoyo_socket_bind(9). Bye bestie β stay permission-checked and slay ππ¦
π¦ 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