Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:in_egroup_p

Proto:int in_egroup_p(kgid_t grp)

Type:int

Parameter:

TypeParameterName
kgid_tgrp
233  cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()
234  retval = 1
236  If Not gid_eq(grp, effective GID of the task ) Then retval = a simple bsearch
238  Return retval