[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250507132302.4aed1cf0@gandalf.local.home>
Date: Wed, 7 May 2025 13:23:02 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Petr Mladek <pmladek@...e.com>
Cc: Bhupesh <bhupesh@...lia.com>, akpm@...ux-foundation.org,
kernel-dev@...lia.com, linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
linux-perf-users@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, oliver.sang@...el.com, lkp@...el.com,
laoar.shao@...il.com, mathieu.desnoyers@...icios.com,
arnaldo.melo@...il.com, alexei.starovoitov@...il.com,
andrii.nakryiko@...il.com, mirq-linux@...e.qmqm.pl, peterz@...radead.org,
willy@...radead.org, david@...hat.com, viro@...iv.linux.org.uk,
keescook@...omium.org, ebiederm@...ssion.com, brauner@...nel.org,
jack@...e.cz, mingo@...hat.com, juri.lelli@...hat.com, bsegall@...gle.com,
mgorman@...e.de, vschneid@...hat.com
Subject: Re: [PATCH v3 3/3] exec: Add support for 64 byte 'tsk->real_comm'
On Wed, 7 May 2025 14:54:36 +0200
Petr Mladek <pmladek@...e.com> wrote:
> > To fix the same, Linus suggested in [1] that we can add the
> > following union inside 'task_struct':
> > union {
> > char comm[TASK_COMM_LEN];
> > char real_comm[REAL_TASK_COMM_LEN];
> > };
>
> Nit: IMHO, the prefix "real_" is misleading. The buffer size is still
> limited and the name might be shrinked. I would suggest
Agreed.
> something like:
>
> char comm_ext[TASK_COMM_EXT_LEN];
> or
> char comm_64[TASK_COMM_64_LEN]
I prefer "comm_ext" as I don't think we want to hard code the actual size.
Who knows, in the future we may extend it again!
-- Steve
Powered by blists - more mailing lists