[Patch lsm/dev-staging] selinux: Fix pointer use in selinux_dentry_init_security
Paul Moore
paul at paul-moore.com
Tue Nov 5 22:26:33 UTC 2024
On Sat, Nov 2, 2024 at 3:37 PM Casey Schaufler <casey at schaufler-ca.com> wrote:
>
> The cast used while calling security_sid_to_context() is just wrong.
> Use the address of the pointer instead.
>
> Signed-off-by: Casey Schaufler <casey at schaufler-ca.com>
> ---
> security/selinux/hooks.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Merged into lsm/dev-staging.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list