Re: [PATCH] selinux: avtab_init() and cond_policydb_init() return void

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

 



On Fri, Mar 6, 2020 at 5:12 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
>
> On Thu, Mar 5, 2020 at 9:04 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> > The avtab_init() and cond_policydb_init() functions always return
> > zero so mark them as returning void and update the callers not to
> > check for a return value.
> >
> > Suggested-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
>
> This was originally suggested by Stephen - you should credit him, not
> me :) I only expressed my preference to still keep the functions,
> since Stephen was considering removing them completely.

Ooops, sorry Stephen!

Fixed in my local copy, and assuming I don't hear any objections in
the next few hours I'll go ahead and merge it.  It's a pretty trivial
patch anyway.

-- 
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