[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <056e599a-f1f3-4ef4-a0d9-04cbe99f198c@web.de>
Date: Wed, 27 Nov 2024 12:45:18 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Christian Göttsche <cgzones@...glemail.com>,
linux-security-module@...r.kernel.org, cocci@...ia.fr,
Julia Lawall <Julia.Lawall@...ia.fr>, Nicolas Palix <nicolas.palix@...g.fr>,
Serge Hallyn <serge@...lyn.com>
Cc: Christian Göttsche <cgoettsche@...tendoof.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [cocci] [PATCH 01/11] coccinelle: Add script to reorder capable()
calls
…
> +++ b/scripts/coccinelle/api/capable_order.cocci
…
> +@ depends on patch@
> +identifier F = { capable, ns_capable, sockopt_ns_capable };
> +binary operator op,op1,op2;
…
> +- F@p(EL) op E
> ++ E op F(EL)
…
You would like to reorder expression parts.
How do you think about to increase the precision for such
an SmPL change specification?
* May only operators be taken into account for which
the commutative property holds?
* Would you like to support a varying length for the affected
operator chain (≥ 2 operands)?
Regards,
Markus
Powered by blists - more mailing lists