On Fri, Feb 05, 2016 at 10:57:22PM +0100, Christian Boltz wrote: > Hello, > > $subject ;-) > > > [ 70-drop-unused-suggest_incs_for_path.diff ]
Acked-by: Seth Arnold <[email protected]> Thanks > === modified file 'utils/apparmor/aa.py' > --- utils/apparmor/aa.py 2016-01-26 06:54:53 +0000 > +++ utils/apparmor/aa.py 2016-02-05 21:52:09 +0000 > @@ -4252,29 +4252,6 @@ > > return combinedmode, combinedaudit, matches > > -def suggest_incs_for_path(incname, path, allow): > - combinedmode = set() > - combinedaudit = set() > - matches = [] > - > - includelist = [incname] > - while includelist: > - inc = includelist.pop(0) > - cm, am, m = rematchfrag(include[inc][inc], 'allow', path) > - if cm: > - combinedmode |= cm > - combinedaudit |= am > - matches += m > - > - if include[inc][inc]['allow']['path'].get(path, False): > - combinedmode |= include[inc][inc]['allow']['path'][path]['mode'] > - combinedaudit |= > include[inc][inc]['allow']['path'][path]['audit'] > - > - if include[inc][inc]['include'].keys(): > - includelist += include[inc][inc]['include'].keys() > - > - return combinedmode, combinedaudit, matches > - > def check_qualifiers(program): > if cfg['qualifiers'].get(program, False): > if cfg['qualifiers'][program] != 'p': >
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
