LSM_HOOK_INIT(socket_listen, selinux_socket_listen), LSM_HOOK_INIT(socket_accept, selinux_socket_accept), LSM_HOOK_INIT(socket_sendmsg, selinux_socket_sendmsg), LSM_HOOK_INIT(socket_recvmsg, selinux_socket_recvmsg), LSM_HOOK_INIT(socket_getsockname, selinux_socket_getsockname), LSM_HOOK_INI...
kernel: inactive elements in nft_pipapo_walk (CVE-2023-6817) kernel: ktls overwrites readonly memory pages when using function splice with a ktls socket as destination (CVE-2024-0646) kernel: use-after-free vulnerability in function sco_sock_sendmsg() (CVE-2021-3640) ...
It includes the server main(), AcceptAuthSocket(), CloseAuthSocket, and DoAuthentication functions. Comm.c—is the common module for both the client and the server. It contains communication code including InitWinSock(), TermWinSock(), SendMsg(), ReceiveMsg(), SendBytes(), and ReceiveBytes()...
AF_UNIX/SOCK_STREAM S is an unconnected socket L is a listening in-flight socket bound to addr, not in fdtable V's fd will be passed via sendmsg(), gets inflight count bumped connect(S, addr) sendmsg(S, [V]); close(V) unix_gc() --- --- --- NS = unix_create1() skb1 ...
打开google,firefox,edge 3个浏览器,访问socket.html, google 浏览器中的fromId 填写 zhangsan ; toId 填写 lisi 。 firefox和edge浏览器中的fromId 填写 lisi; toId 填写 zhangsan 。 在google中的对话框中填写“李四,你好,我是张三”,然后点击发送按钮后,在firefox和edge浏览器中查看,只会在一个浏览器中会...
1. it adds opaque security fields to certain kernel data structures1) task_struct: Task(Process)2) linux_binprm: Program3) super_block: Filesystem4) inode: Pipe、File,、or Socket5) file: Open File6) sk_buff: Network Buffer(Packet)7) net_device: Network Device8) kern_ipc_perm: Semapho...
socket connect accept sendto recvfrom sendmsg recvmsg shutdown bind listen getsockname getpeername socketpair setsockopt getsockopt clone fork vfork execve exit wait4 kill uname 这是一个非详尽的列表,仅供参考。对于完整的列表,可以参考Docker的Seccomp默认配置文件1。
LSM_HOOK(int, 0, socket_sendmsg, struct socket *sock, struct msghdr *msg, int size) LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg, int size, int flags) LSM_HOOK(int, 0, socket_getsockname, struct socket *sock) LSM_HOOK(int, 0, socket_getpeername, stru...
SendMsgsToServer(signedMsg, encryptedMsg); } And on the server side: Copy // // Server side // public void ReceiveSignedAndEncryptedMsgs(Byte[] signedMsg, Byte[] encryptedMsg) { // verify a message Byte[] verifiedMsg = _ServerContext.VerifyMessage(signedMsg); ...
int (*socket_listen) (struct socket * sock, int backlog); int (*socket_accept) (struct socket * sock, struct socket * newsock); void (*socket_post_accept) (struct socket * sock, struct socket * newsock); int (*socket_sendmsg) (struct socket * sock, struct msghdr * msg, int siz...