All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
@ 2021-08-05  9:58 Weizhao Ouyang
  2021-08-05 10:07   ` [Cocci] " Denis Efremov
  2021-08-05 11:01 ` Julia Lawall
  0 siblings, 2 replies; 5+ messages in thread
From: Weizhao Ouyang @ 2021-08-05  9:58 UTC (permalink / raw)
  To: Julia.Lawall, Gilles.Muller, nicolas.palix, michal.lkml,
	o451686892, efremov
  Cc: cocci, linux-kernel

Commit 453431a54934 ("mm, treewide: rename kzfree() to
kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
it should be applied to coccinelle.

Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
---
 scripts/coccinelle/api/kvmalloc.cocci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
index c30dab718a49..5ddcb76b76b0 100644
--- a/scripts/coccinelle/api/kvmalloc.cocci
+++ b/scripts/coccinelle/api/kvmalloc.cocci
@@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
   } else {
     ... when != krealloc(E, ...)
         when any
-*   \(kfree\|kzfree\)(E)
+*   \(kfree\|kfree_sensitive\)(E)
     ...
   }
 
-- 
2.30.2


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

* Re: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
  2021-08-05  9:58 [RESEND] coccinelle: api: rename kzfree to kfree_sensitive Weizhao Ouyang
@ 2021-08-05 10:07   ` Denis Efremov
  2021-08-05 11:01 ` Julia Lawall
  1 sibling, 0 replies; 5+ messages in thread
From: Denis Efremov @ 2021-08-05 10:07 UTC (permalink / raw)
  To: Weizhao Ouyang, Julia.Lawall, Gilles.Muller, nicolas.palix, michal.lkml
  Cc: cocci, linux-kernel

Hi,

On 8/5/21 12:58 PM, Weizhao Ouyang wrote:
> Commit 453431a54934 ("mm, treewide: rename kzfree() to
> kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
> it should be applied to coccinelle.
> 
> Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>

Acked-by: Denis Efremov <efremov@linux.com>

> ---
>  scripts/coccinelle/api/kvmalloc.cocci | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
> index c30dab718a49..5ddcb76b76b0 100644
> --- a/scripts/coccinelle/api/kvmalloc.cocci
> +++ b/scripts/coccinelle/api/kvmalloc.cocci
> @@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
>    } else {
>      ... when != krealloc(E, ...)
>          when any
> -*   \(kfree\|kzfree\)(E)
> +*   \(kfree\|kfree_sensitive\)(E)
>      ...
>    }
>  
> 

Regards,
Denis

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

* Re: [Cocci] [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
@ 2021-08-05 10:07   ` Denis Efremov
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Efremov @ 2021-08-05 10:07 UTC (permalink / raw)
  To: Weizhao Ouyang, Julia.Lawall, Gilles.Muller, nicolas.palix, michal.lkml
  Cc: cocci, linux-kernel

Hi,

On 8/5/21 12:58 PM, Weizhao Ouyang wrote:
> Commit 453431a54934 ("mm, treewide: rename kzfree() to
> kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
> it should be applied to coccinelle.
> 
> Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>

Acked-by: Denis Efremov <efremov@linux.com>

> ---
>  scripts/coccinelle/api/kvmalloc.cocci | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
> index c30dab718a49..5ddcb76b76b0 100644
> --- a/scripts/coccinelle/api/kvmalloc.cocci
> +++ b/scripts/coccinelle/api/kvmalloc.cocci
> @@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
>    } else {
>      ... when != krealloc(E, ...)
>          when any
> -*   \(kfree\|kzfree\)(E)
> +*   \(kfree\|kfree_sensitive\)(E)
>      ...
>    }
>  
> 

Regards,
Denis
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* Re: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
  2021-08-05 10:07   ` [Cocci] " Denis Efremov
  (?)
@ 2021-08-05 11:01   ` Julia Lawall
  -1 siblings, 0 replies; 5+ messages in thread
From: Julia Lawall @ 2021-08-05 11:01 UTC (permalink / raw)
  To: Denis Efremov
  Cc: Weizhao Ouyang, Julia.Lawall, Gilles.Muller, nicolas.palix,
	michal.lkml, cocci, linux-kernel



On Thu, 5 Aug 2021, Denis Efremov wrote:

> Hi,
>
> On 8/5/21 12:58 PM, Weizhao Ouyang wrote:
> > Commit 453431a54934 ("mm, treewide: rename kzfree() to
> > kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
> > it should be applied to coccinelle.
> >
> > Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
>
> Acked-by: Denis Efremov <efremov@linux.com>

Thanks.

>
> > ---
> >  scripts/coccinelle/api/kvmalloc.cocci | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
> > index c30dab718a49..5ddcb76b76b0 100644
> > --- a/scripts/coccinelle/api/kvmalloc.cocci
> > +++ b/scripts/coccinelle/api/kvmalloc.cocci
> > @@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
> >    } else {
> >      ... when != krealloc(E, ...)
> >          when any
> > -*   \(kfree\|kzfree\)(E)
> > +*   \(kfree\|kfree_sensitive\)(E)
> >      ...
> >    }
> >
> >
>
> Regards,
> Denis
>

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

* Re: [RESEND] coccinelle: api: rename kzfree to kfree_sensitive
  2021-08-05  9:58 [RESEND] coccinelle: api: rename kzfree to kfree_sensitive Weizhao Ouyang
  2021-08-05 10:07   ` [Cocci] " Denis Efremov
@ 2021-08-05 11:01 ` Julia Lawall
  1 sibling, 0 replies; 5+ messages in thread
From: Julia Lawall @ 2021-08-05 11:01 UTC (permalink / raw)
  To: Weizhao Ouyang
  Cc: Gilles Muller, nicolas.palix, michal.lkml, efremov, cocci, linux-kernel



On Thu, 5 Aug 2021, Weizhao Ouyang wrote:

> Commit 453431a54934 ("mm, treewide: rename kzfree() to
> kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
> it should be applied to coccinelle.
>
> Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>

Applied, thanks.

julia

> ---
>  scripts/coccinelle/api/kvmalloc.cocci | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/api/kvmalloc.cocci b/scripts/coccinelle/api/kvmalloc.cocci
> index c30dab718a49..5ddcb76b76b0 100644
> --- a/scripts/coccinelle/api/kvmalloc.cocci
> +++ b/scripts/coccinelle/api/kvmalloc.cocci
> @@ -79,7 +79,7 @@ position p : script:python() { relevant(p) };
>    } else {
>      ... when != krealloc(E, ...)
>          when any
> -*   \(kfree\|kzfree\)(E)
> +*   \(kfree\|kfree_sensitive\)(E)
>      ...
>    }
>
> --
> 2.30.2
>
>

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

end of thread, other threads:[~2021-08-05 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05  9:58 [RESEND] coccinelle: api: rename kzfree to kfree_sensitive Weizhao Ouyang
2021-08-05 10:07 ` Denis Efremov
2021-08-05 10:07   ` [Cocci] " Denis Efremov
2021-08-05 11:01   ` Julia Lawall
2021-08-05 11:01 ` Julia Lawall

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.