[PATCH V3 05/10] capabilities: use intuitive names for id changes
James Morris
jmorris at namei.org
Mon Aug 28 01:32:07 UTC 2017
On Fri, 25 Aug 2017, Serge E. Hallyn wrote:
> Part of the motivation here is that the things we are checking for are some
> rather baroque combinations of conditions, so having each piece of those be
> as simple and clear as possible helps to better reason about what is going on
> (which helped Richard to find the bug he is fixing).
>
> These helpers are local (should all be static, as James pointed out). Making
> helpers to simplify the final checks is the right way to clarify code. I'm
> all for making sure they are as clear as possible, but I do think their existence
> is justified.
Perhaps document them better and maybe prefix them with __ to emphasize
that they're internal only?
--
James Morris
<jmorris at namei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list