Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:match_file

Proto:static int match_file(const void *p, struct file *file, unsigned int fd)

Type:int

Parameter:

TypeParameterName
const void *p
struct file *file
unsigned intfd
686  label = p
688  If aa_file_perm - do permission revalidation check & audit for @file*@op: operation being checked*@label: label being enforced (NOT NULL)*@file: file to revalidate access permissions on (NOT NULL)*@request: requested permissions*@in_atomic: whether Then Return fd + 1
691  Return 0