Thread (10 messages) 10 messages, 4 authors, 2025-09-11

Re: [PATCH] tracing: Fix missing errno when zero parser->idx in trace_pid_write

flat view

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-08-28 02:58:37
Also in: lkml

On Thu, 28 Aug 2025 10:02:54 +0800
Pu Lehui [off-list ref] wrote:
On 2025/8/21 15:17, Pu Lehui wrote:
quoted
From: Pu Lehui <pulehui@huawei.com>

When trace_get_user in trace_pid_write parses an only space, the
!trace_parser_loaded branch will break with no errno, causing
tr->filtered_pids to still be assigned with pid_list, which may trigger
potential problems.  
Gentle ping~

Hi all, Is this commit looks proper?
It's in the queue to be looked at:

  https://patchwork.kernel.org/project/linux-trace-kernel/list/

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help