Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xindex_is_subset - helper for aa_path_link*@link: link permission set*@target: target permission set* test target x permissions are equal OR a subset of link x permissions* this is done as part of the subset test, where a hardlink must have

Proto:static inline bool xindex_is_subset(unsigned int link, unsigned int target)

Type:bool

Parameter:

TypeParameterName
unsigned intlink
unsigned inttarget
360  If (link & ~AA_X_UNSAFE) != (target & ~AA_X_UNSAFE) || link & AA_X_UNSAFE && Not (target & AA_X_UNSAFE) Then Return 0
364  Return 1
Caller
NameDescribe
profile_path_link