函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\file.c Create Date:2022-07-27 21:42:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline bool xindex_is_subset(unsigned int link, unsigned int target)

返回类型:bool

参数:

类型参数名称
unsigned intlink
unsigned inttarget
360  如果link按位与AA_X_UNSAFE的反的值不等于target按位与AA_X_UNSAFE的反的值或link按位与AA_X_UNSAFE且非target按位与AA_X_UNSAFE的值则返回:0
364  返回:1
调用者
名称描述
profile_path_link