Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\lsm.c Create Date:2022-07-28 19:53:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prepare new cred label for modification by prepare_cred block

Proto:static int apparmor_cred_prepare(struct cred *new, const struct cred *old, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct cred *new
const struct cred *old
gfp_tgfp
87  set_cred_label(new, aa_get_newest_label - find the newest version of @l*@l: the label to check for newer versions of* Returns: refcounted newest version of @l taking into account* replacement, renames and removals* return @l.)
88  Return 0