函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:security\apparmor\lib.c Create Date:2022-07-27 21:27:59
首页 Copyright©Brick

380
381
382
383
384
385
386
387
388
389
390
void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label,
                int type, u32 request, struct aa_perms *perms)
{
    /* TODO: doesn't yet handle extended types */
    unsigned int state;
 
    state = aa_dfa_next(profile->policy.dfa,
                profile->policy.start[AA_CLASS_LABEL],
                type);
    aa_label_match(profile, label, state, false, request, perms);
}