Home
last modified time | relevance | path

Searched refs:SOCK_INODE (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_netlink.c10 static __attribute__((noinline)) struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
58 inode = SOCK_INODE(sk); in dump_netlink()
/kernel/linux/linux-5.10/security/apparmor/include/
Dnet.h55 #define SOCK_ctx(X) SOCK_INODE(X)->i_security
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c1214 SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino; in mptcp_subflow_create_socket()
1215 SOCK_INODE(sf)->i_uid = SOCK_INODE(sk->sk_socket)->i_uid; in mptcp_subflow_create_socket()
1216 SOCK_INODE(sf)->i_gid = SOCK_INODE(sk->sk_socket)->i_gid; in mptcp_subflow_create_socket()
Dprotocol.c2454 sk->sk_uid = SOCK_INODE(parent)->i_uid; in mptcp_sock_graft()
/kernel/linux/linux-5.10/net/x25/
Dx25_proc.c108 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in x25_seq_socket_show()
/kernel/linux/linux-5.10/net/
Dsocket.c411 file = alloc_file_pseudo(SOCK_INODE(sock), sock_mnt, dname, in sock_alloc_file()
421 stream_open(SOCK_INODE(sock), file); in sock_alloc_file()
608 iput(SOCK_INODE(sock)); in __sock_release()
/kernel/linux/linux-5.10/net/core/
Dsock.c2172 uid = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_uid : GLOBAL_ROOT_UID; in sock_i_uid()
2183 ino = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_ino : 0; in sock_i_ino()
3055 SOCK_INODE(sock)->i_uid : in sock_init_data()
/kernel/linux/linux-5.10/include/net/
Dsock.h1457 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
1925 sk->sk_uid = SOCK_INODE(parent)->i_uid; in sock_graft()
/kernel/linux/linux-5.10/include/trace/events/
Dsunrpc.h832 struct inode *inode = SOCK_INODE(socket);
882 struct inode *inode = SOCK_INODE(socket);
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c4538 struct inode_security_struct *isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_post_create()
4839 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_accept()
4845 newisec = inode_security_novalidate(SOCK_INODE(newsock)); in selinux_socket_accept()
5131 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_getpeersec_dgram()
5195 inode_security_novalidate(SOCK_INODE(parent)); in selinux_sock_graft()
/kernel/linux/linux-5.10/net/netrom/
Daf_netrom.c1326 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in nr_info_show()
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c1446 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in rose_info_show()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c1062 (SOCK_INODE(sock)->i_mode & ~current_umask()); in unix_bind()