Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:58:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ransfer the SELinux data to a blank set of creds

Proto:static void selinux_cred_transfer(struct cred *new, const struct cred *old)

Type:void

Parameter:

TypeParameterName
struct cred *new
const struct cred *old
3918  old_tsec = selinux_cred(old)
3919  tsec = selinux_cred(new)
3921  tsec = old_tsec