Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sock_net_uid

Proto:static inline kuid_t sock_net_uid(const struct net *net, const struct sock *sk)

Type:kuid_t

Parameter:

TypeParameterName
const struct net *net
const struct sock *sk
1847  Return If sk Then sk_uid Else make_kuid( Owning user namespace , 0)