Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\helpers.c Create Date:2022-07-28 13:07:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:____bpf_get_current_uid_gid

Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_get_current_uid_gid(void)

Type:u64

Parameter:Nothing

173  task = current process
177  If Value for the false possibility is greater at compile time(!task) Then Return -EINVAL
180  current_uid_gid( & uid, & gid)
181  Return m_kgid - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid. << 32 | m_kuid - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.