From: Li Zefan Date: Tue, 7 Jul 2009 05:53:47 +0000 (+0800) Subject: ksym_tracer: Fix validation of length of access type X-Git-Tag: v2.6.33-rc1~399^2~146^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92cf9f8f7e89c6bdbb1a724f879b8b18fc0dfe0f;p=pandora-kernel.git ksym_tracer: Fix validation of length of access type Don't take newline into account, otherwise: # echo 'pid_max:-w-' > ksym_trace_filter # echo -n 'pid_max:rw-' > ksym_trace_filter bash: echo: write error: Invalid argument Signed-off-by: Li Zefan Acked-by: Frederic Weisbecker Cc: "K.Prasad" Cc: Alan Stern Cc: Steven Rostedt LKML-Reference: <4A52E2EB.9070503@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed