On 01/07/2018 07:26 AM, intrigeri wrote:
> intrigeri:
>> intrigeri:
>>> Dear upstream/parser developers, would it feel crazy to modify
>>> clear_cache_cb to ignore the passed file if its basename is
>>> CACHEDIR.TAG? Or should _aa_dirat_for_each get a list of excluded file
>>> names as a new argument, or something similar?
> 
>>> If any of these approaches seems acceptable, is anyone around willing
>>> to write this patch, or should I try to find a C person elsewhere?
> 
>> Ping?
> 
> After thinking about it, as discussed on the upstream AppArmor mailing
> list I'd rather move the binary cache to /var/cache which should make
> this suggested change unnecessary.
> 
> Sorry for the too hasty ping!
> 

Well that isn't reason to add another file type that will be skipped. It
should be a fairly easy modification. In fact the cache isn't necessarily
the only dir we might want to skip so

  SKIPDIR.TAG
or
  IGNOREDIR.TAG

might even be better to have



-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to