Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apparmor_file_lock

Proto:static int apparmor_file_lock(struct file *file, unsigned int cmd)

Type:int

Parameter:

TypeParameterName
struct file *file
unsigned intcmd
485  mask = LINK_SUBSET overlaid
487  If cmd == F_WRLCK Then mask |= MAY_WRITE
490  Return common_file_perm(OP_FLOCK, file, mask, false)