Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scm_set_cred

Proto:static inline void scm_set_cred(struct scm_cookie *scm, struct pid *pid, kuid_t uid, kgid_t gid)

Type:void

Parameter:

TypeParameterName
struct scm_cookie *scm
struct pid *pid
kuid_tuid
kgid_tgid
59  Skb credentials = get_pid(pid)
60  pid = pid_vnr(pid)
61  uid = uid
62  gid = gid