[apparmor] [patch] update aa.py is_skippable_file() according to libapparmor
Steve Beattie
steve at nxnw.org
Tue Feb 3 21:02:58 UTC 2015
On Tue, Feb 03, 2015 at 08:58:53PM +0100, Christian Boltz wrote:
> [resent without linebreaks in the patch]
> > Update is_skippable_file() to match all extensions that are listed in
> > libapparmor _aa_is_blacklisted() - some extensions were missing in the
> > python code.
> >
> > Also make the code more readable and add some testcases.
> >
> > Notes:
> > - the original code additionally ignored *.swp. I didn't include that
> > - *.swp looks like vim swap files which are also dot files
> > - the python code ignores README files, but the C code doesn't
> > (do we need to add README in the C code?)
> >
> >
> [ is_skippable_file.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>. Thanks.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150203/d4356ac5/attachment.pgp>
More information about the AppArmor
mailing list