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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49ED9AC2.9000507@cn.fujitsu.com>
Date:	Tue, 21 Apr 2009 18:06:58 +0800
From:	Li Zefan <lizf@...fujitsu.com>
To:	Ingo Molnar <mingo@...e.hu>
CC:	Tom Zanussi <tzanussi@...il.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] tracing/filters: disallow newline as delimeter

Ingo Molnar wrote:
> * Li Zefan <lizf@...fujitsu.com> wrote:
> 
>> I guess because user input is often ended with '\n' (like "echo 
>> xxx"), thus '\n' is used as a delimeter besides ' ', but we can 
>> just strip tailing spaces.
> 
> Hm, how about:
> 
> ( echo 'x'
>   echo '|| y' ) > filter
> 
> type of scripts? Shouldnt the parser be permissive in general?
> 

This patch doesn't forbid this usage: ;)

( echo 'parent_comm == a'
  echo '|| parent_comm == b' ) > filter

This patch does forbid this usage:

( echo 'parent_comm'
  echo '=='
  echo 'a' ) > filter


--
Zefan

--
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