Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_access

Proto:static void set_access(char *acc, short access)

Type:void

Parameter:

TypeParameterName
char *acc
shortaccess
238  idx = 0
239  memset(acc, 0, ACCLEN)
240  If access & DEVCG_ACC_READ Then acc[idx++] = 'r'
242  If access & DEVCG_ACC_WRITE Then acc[idx++] = 'w'
244  If access & DEVCG_ACC_MKNOD Then acc[idx++] = 'm'
Caller
NameDescribe
devcgroup_seq_show