All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selinux: hooks: security content must be properly cleared
@ 2017-04-23  0:05 Pirabarlen-Cheenaramen
  2017-04-23  6:48 ` Pirabarlen Cheenaramen
  0 siblings, 1 reply; 2+ messages in thread
From: Pirabarlen-Cheenaramen @ 2017-04-23  0:05 UTC (permalink / raw)
  To: linux-security-module

Signed-off-by: Pirabarlen-Cheenaramen <selven@hackers.mu>
---
 security/selinux/hooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index e67a526..ef3fa80 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -4969,7 +4969,7 @@ static int selinux_tun_dev_alloc_security(void **security)
 
 static void selinux_tun_dev_free_security(void *security)
 {
-	kfree(security);
+	kzfree(security);
 }
 
 static int selinux_tun_dev_create(void)
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] selinux: hooks: security content must be properly cleared
  2017-04-23  0:05 [PATCH] selinux: hooks: security content must be properly cleared Pirabarlen-Cheenaramen
@ 2017-04-23  6:48 ` Pirabarlen Cheenaramen
  0 siblings, 0 replies; 2+ messages in thread
From: Pirabarlen Cheenaramen @ 2017-04-23  6:48 UTC (permalink / raw)
  To: linux-security-module

Please disregard this patch.

On Sun, Apr 23, 2017 at 02:05:51AM +0200, Pirabarlen-Cheenaramen wrote:
> Signed-off-by: Pirabarlen-Cheenaramen <selven@hackers.mu>
> ---
>  security/selinux/hooks.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index e67a526..ef3fa80 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -4969,7 +4969,7 @@ static int selinux_tun_dev_alloc_security(void **security)
>  
>  static void selinux_tun_dev_free_security(void *security)
>  {
> -	kfree(security);
> +	kzfree(security);
>  }
>  
>  static int selinux_tun_dev_create(void)
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-23  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-23  0:05 [PATCH] selinux: hooks: security content must be properly cleared Pirabarlen-Cheenaramen
2017-04-23  6:48 ` Pirabarlen Cheenaramen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.