lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <afcdadd9-07c8-4dcf-be12-7cdad1984b33@kernel.org>
Date: Fri, 13 Dec 2024 08:48:02 +0100
From: Jiri Slaby <jirislaby@...nel.org>
To: Yafang Shao <laoar.shao@...il.com>, torvalds@...ux-foundation.org,
 akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org,
 x86@...nel.org, linux-snps-arc@...ts.infradead.org,
 linux-wireless@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
 intel-xe@...ts.freedesktop.org, nouveau@...ts.freedesktop.org,
 dri-devel@...ts.freedesktop.org, ocfs2-devel@...ts.linux.dev,
 Ofir Bitton <obitton@...ana.ai>, Oded Gabbay <ogabbay@...nel.org>,
 Jani Nikula <jani.nikula@...ux.intel.com>,
 Rodrigo Vivi <rodrigo.vivi@...el.com>,
 Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
 Tvrtko Ursulin <tursulin@...ulin.net>, David Airlie <airlied@...il.com>,
 Simona Vetter <simona@...ll.ch>, Karol Herbst <kherbst@...hat.com>,
 Lyude Paul <lyude@...hat.com>, Danilo Krummrich <dakr@...hat.com>,
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 6/7] drivers: Repace get_task_comm() with %pTN

On 13. 12. 24, 6:46, Yafang Shao wrote:
> Since task->comm is guaranteed to be NUL-terminated, we can print it
> directly without the need to copy it into a separate buffer. This
> simplifies the code and avoids unnecessary operations.
> 
> Signed-off-by: Yafang Shao <laoar.shao@...il.com>
> Cc: Ofir Bitton <obitton@...ana.ai>
> Cc: Oded Gabbay <ogabbay@...nel.org>
> Cc: Jani Nikula <jani.nikula@...ux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@...el.com>
> Cc: Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>
> Cc: Tvrtko Ursulin <tursulin@...ulin.net>
> Cc: David Airlie <airlied@...il.com>
> Cc: Simona Vetter <simona@...ll.ch>
> Cc: Karol Herbst <kherbst@...hat.com>
> Cc: Lyude Paul <lyude@...hat.com>
> Cc: Danilo Krummrich <dakr@...hat.com>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Jiri Slaby <jirislaby@...nel.org>
> ---
>   drivers/accel/habanalabs/common/context.c         |  5 ++---
>   .../accel/habanalabs/common/habanalabs_ioctl.c    | 15 +++++----------
>   .../gpu/drm/i915/display/intel_display_driver.c   | 10 ++++------
>   drivers/gpu/drm/nouveau/nouveau_chan.c            |  4 +---
>   drivers/gpu/drm/nouveau/nouveau_drm.c             |  7 +++----
>   drivers/tty/tty_io.c                              |  5 ++---

FOr tty:
Reviewed-by: Jiri Slaby <jirislaby@...nel.org>

thanks,
-- 
js
suse labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ