Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_label_is_subset - test if @sub is a subset of @set*@set: label to test against*@sub: label to test if is subset of @set* Returns: true if @sub is subset of @set* else false

Proto:bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub)

Type:bool

Parameter:

TypeParameterName
struct aa_label *set
struct aa_label *sub
542  struct label_it i = {}
544  AA_BUG(!set)
545  AA_BUG(!sub)
547  If sub == set Then Return true
550  Return aa_label_next_not_in_set - return the next profile of @sub not in @set*@I: label iterator*@set: label to test against*@sub: label to if is subset of @set* Returns: profile in @sub that is not in @set, with iterator set pos after* else NULL if @sub is a == NULL
Caller
NameDescribe
apparmor_bprm_set_credsapparmor_bprm_set_creds - set the new creds on the bprm struct*@bprm: binprm for the exec (NOT NULL)* Returns: %0 or error on failure* TODO: once the other paths are done see if we can't refactor into a fn
aa_change_hataa_change_hat - change hat to/from subprofile*@hats: vector of hat names to try changing into (MAYBE NULL if @count == 0)*@count: number of hat names in @hats*@token: magic value to validate the hat change*@flags: flags affecting behavior of the change
aa_change_profileaa_change_profile - perform a one-way profile transition*@fqname: name of profile may include namespace (NOT NULL)*@onexec: whether this transition is to take place immediately or at exec*@flags: flags affecting change behavior
__file_path_perm
__file_sock_perm
aa_file_permaa_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