On Wed, 7 May 2025 14:54:36 +0200
Petr Mladek <pmladek@xxxxxxxx> wrote:
Agreed.To fix the same, Linus suggested in [1] that we can add theNit: IMHO, the prefix "real_" is misleading. The buffer size is still
following union inside 'task_struct':
union {
char comm[TASK_COMM_LEN];
char real_comm[REAL_TASK_COMM_LEN];
};
limited and the name might be shrinked. I would suggest
something like:I prefer "comm_ext" as I don't think we want to hard code the actual size.
char comm_ext[TASK_COMM_EXT_LEN];
or
char comm_64[TASK_COMM_64_LEN]
Who knows, in the future we may extend it again!