diff options
| author | Li Zefan <[email protected]> | 2009-07-07 13:53:47 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-07-10 11:59:42 +0200 |
| commit | 92cf9f8f7e89c6bdbb1a724f879b8b18fc0dfe0f (patch) | |
| tree | cb7f7598bc6c9fade407b24fcbf1a83a92a997b7 /scripts/objdiff | |
| parent | f088e5471297cc78d7465e1fd997cb1a91a48019 (diff) | |
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 <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: "K.Prasad" <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions