Re: [Patch lsm/dev-staging] selinux: Fix pointer use in selinux_dentry_init_security

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

 



On Sat, Nov 2, 2024 at 3:37 PM Casey Schaufler <casey@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>
> ---
>  security/selinux/hooks.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Merged into lsm/dev-staging.

-- 
paul-moore.com





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux