lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 11 Oct 2012 15:15:09 +0200
From:	Michal Marek <mmarek@...e.cz>
To:	Nicolas Palix <nicolas.palix@...g.fr>
Cc:	Julia Lawall <julia.lawall@...6.fr>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] Coccicheck: Add the rep+ctxt mode

On Thu, Sep 20, 2012 at 10:30:46PM +0200, Nicolas Palix wrote:
> This adds a 'rep+ctxt' mode which prints the warning
> message followed by the context.
> 
> Signed-off-by: Nicolas Palix <nicolas.palix@...g.fr>
> ---
>  scripts/coccicheck | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/scripts/coccicheck b/scripts/coccicheck
> index 823e972..eb43e40 100755
> --- a/scripts/coccicheck
> +++ b/scripts/coccicheck
> @@ -95,6 +95,9 @@ coccinelle () {
>  	$SPATCH -D report  $FLAGS -sp_file $COCCI $OPT $OPTIONS -no_show_diff || \
>  	$SPATCH -D context $FLAGS -sp_file $COCCI $OPT $OPTIONS               || \
>  	$SPATCH -D org     $FLAGS -sp_file $COCCI $OPT $OPTIONS
> -no_show_diff || exit 1

Your mailer broke this line into two, please try to avoid this next
time. Also, please CC lkml when submitting patches. I applied the patch
to kbuild.git#misc now.

Michal

> +    elif [ "$MODE" = "rep+ctxt" ] ; then
> +	$SPATCH -D report  $FLAGS -sp_file $COCCI $OPT $OPTIONS -no_show_diff && \
> +	$SPATCH -D context $FLAGS -sp_file $COCCI $OPT $OPTIONS
>  || exit 1
>      else
>  	$SPATCH -D $MODE   $FLAGS -sp_file $COCCI $OPT $OPTIONS || exit 1
>      fi
> -- 
> 1.7.11.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ