Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:profile_signal_perm

Proto:static int profile_signal_perm(struct aa_profile *profile, struct aa_label *peer, unsigned int request, struct common_audit_data *sa)

Type:int

Parameter:

TypeParameterName
struct aa_profile *profile
struct aa_label *peer
unsigned intrequest
struct common_audit_data *sa
194  If profile_unconfined(profile) || Not PROFILE_MEDIATES(profile, AA_CLASS_SIGNAL) Then Return 0
198  peer = peer
200  state = aa_dfa_next(Generic policy DFA specific rule types will be subsections of it , set of start states for the different classes of data[AA_CLASS_SIGNAL], signal)
203  aa_label_match(profile, peer, state, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., request, & perms)
204  aa_apply_modes_to_perms - apply namespace and profile flags to perms*@profile: that perms where computed from*@perms: perms to apply mode modifiers to* TODO: split into profile and ns based flags for when accumulating perms
205  Return aa_check_perms - do audit mode selection based on perms set*@profile: profile being checked*@perms: perms computed for the request*@request: requested perms*@deny: Returns: explicit deny set*@sa: initialized audit structure (MAY BE NULL if not
Caller
NameDescribe
aa_may_signal