lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fdcd22493d49521390d09a2f8a464d20@paul-moore.com>
Date: Tue, 07 Jan 2025 22:00:01 -0500
From: Paul Moore <paul@...l-moore.com>
To: Christian Göttsche <cgoettsche@...tendoof.de>, selinux@...r.kernel.org
Cc: Christian Göttsche <cgzones@...glemail.com>, Stephen Smalley <stephen.smalley.work@...il.com>, Ondrej Mosnacek <omosnace@...hat.com>, Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <ndesaulniers@...gle.com>, Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>, Thiébaud Weksteen <tweek@...gle.com>, Bram Bonné <brambonne@...gle.com>, Masahiro Yamada <masahiroy@...nel.org>, linux-kernel@...r.kernel.org, llvm@...ts.linux.dev, Eric Suen <ericsu@...ux.microsoft.com>, Canfeng Guo <guocanfeng@...ontech.com>
Subject: Re: [PATCH RFC v2 7/22] selinux: use known type instead of void  pointer

On Dec 16, 2024 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@...tendoof.de> wrote:
> 
> Improve type safety and readability by using the known type.
> 
> Signed-off-by: Christian Göttsche <cgzones@...glemail.com>
> ---
> v2:
>  - move one little diff from subsequent patch to this one
>  - reorder struct definition in policydb.h as suggested by Daniel
> ---
>  security/selinux/ss/avtab.c       |  8 +--
>  security/selinux/ss/avtab.h       |  9 +--
>  security/selinux/ss/conditional.c | 12 ++--
>  security/selinux/ss/conditional.h |  6 +-
>  security/selinux/ss/ebitmap.c     |  4 +-
>  security/selinux/ss/ebitmap.h     |  5 +-
>  security/selinux/ss/policydb.c    | 91 ++++++++++++++++---------------
>  security/selinux/ss/policydb.h    | 16 +++---
>  8 files changed, 77 insertions(+), 74 deletions(-)

Merged into selinux/dev, thanks.

--
paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ