Re: [PATCH 6/6] selinux: declare read-only data arrays const

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

 



On Thu, Apr 20, 2023 at 11:05 AM Christian Göttsche
<cgzones@xxxxxxxxxxxxxx> wrote:
>
> The array of mount tokens in only used in match_opt_prefix() and never
> modified.
>
> The array of symtab names is never modified and only used in the
> DEBUG_HASHES configuration as output.
>
> The array of files for the SElinux filesystem sub-directory `ss` is
> similar to the other `struct tree_descr` usages only read from to
> construct the containing entries.
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
>  security/selinux/hooks.c       | 2 +-
>  security/selinux/selinuxfs.c   | 2 +-
>  security/selinux/ss/policydb.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Merged into selinux/next, thanks.

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