+9
−12
Loading
Don't bother to store the dentry of /policy_capabilities - it belongs to invariant part of tree and we only use it to populate that directory, so there's no reason to keep it around afterwards. Same situation as with /avc, /ss, etc. There are two directories that get replaced on policy load - /class and /booleans. These we need to stash (and update the pointers on policy reload); /policy_capabilities is not in the same boat. Acked-by:Paul Moore <paul@paul-moore.com> Reviewed-by:
Stephen Smalley <stephen.smalley.work@gmail.com> Tested-by:
Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>