tomoyo_socket_listen(9)
π tomoyo_socket_listen(9) π
okay so bestie, this is a page from the Kernel API Manual, and the main character is tomoyo_socket_listen(9) β literally the permission check for listen(). itβs short, itβs sweet, and itβs giving βsecurity hook with main character energy.β π
β¨ NAME β¨
tomoyo_socket_listen β check permission for listen(). no cap, thatβs the whole name vibe.
π¦ SYNOPSIS π¦
int tomoyo_socket_listen (struct socket *sock , int backlog );
πΈ ARGUMENTS πΈ
sockβ pointer tostruct socket. yes, that exact struct, keep it iconic.backlogβ backlog parameter. the parameter called backlog, periodt.
π DESCRIPTION π
Returns 0 on success, and a negative value otherwise. thatβs the return contract, fr fr. a 0 is the slay β
; anything negative is the βnot itβ π.
π SEE ALSO π
Kernel file: ./security/tomoyo/tomoyo.c
also the whole TOMOYO bestie lineup:
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_connect(9)tomoyo_socket_bind(9)tomoyo_socket_sendmsg(9)tomoyo_task_alloc(9)tomoyo_task_free(9)tomoyo_init(9)
mwah π β brought to you by the source path ./security/tomoyo, dated October 2026, and filed under tomoyo_socket_listen(9). thatβs the whole page, 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