Re: [PATCH] selinux: clean up selinux_inode_permission MAY_NOT_BLOCK tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 22, 2019 at 4:17 PM Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
> Through a somewhat convoluted series of changes, we have ended up
> with multiple unnecessary occurrences of (flags & MAY_NOT_BLOCK)
> tests in selinux_inode_permission().  Clean it up and simplify.
> No functional change.
>
> Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx>
> ---
> This patch is relative to the two patches I posted earlier today for
> MAY_NOT_BLOCK / ref-walk handling.  Just a cleanup of something I
> noticed while doing those two.
>
>  security/selinux/hooks.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Merged, thanks.

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux