Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_new_cred - Get a reference on a new set of credentials*@cred: The new credentials to reference* Get a reference on the specified set of new credentials. The caller must* release the reference.

Proto:static inline struct cred *get_new_cred(struct cred *cred)

Type:struct cred

Parameter:

TypeParameterName
struct cred *cred
230  atomic_inc( & usage)
231  Return cred
Caller
NameDescribe
override_credsverride_creds - Override the current process's subjective credentials*@new: The credentials to be assigned* Install a set of temporary override subjective credentials on the current* process, returning the old set for later reversion.