linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] procfs: /proc/PID/comm fixes
@ 2018-12-19 23:28 Michał Mirosław
  2018-12-19 23:28 ` [PATCH 2/2] procfs: lseek(/proc/PID/comm, 0, SEEK_END) Michał Mirosław
  2018-12-19 23:28 ` [PATCH 1/2] procfs: signal /proc/PID/comm write truncation Michał Mirosław
  0 siblings, 2 replies; 6+ messages in thread
From: Michał Mirosław @ 2018-12-19 23:28 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Alexey Dobriyan, Andrew Morton, David Rientjes

Two extensions to /proc/PID/comm implementation to ease extending
TASK_COMM length: first is a fix for silent truncation when changing
thread name, second allows atomic query of kernel's TASK_COMM size.

Michał Mirosław (2):
  procfs: signal /proc/PID/comm write truncation
  procfs: lseek(/proc/PID/comm, 0, SEEK_END)

 fs/proc/base.c | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

-- 
2.19.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-13 12:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 23:28 [PATCH 0/2] procfs: /proc/PID/comm fixes Michał Mirosław
2018-12-19 23:28 ` [PATCH 2/2] procfs: lseek(/proc/PID/comm, 0, SEEK_END) Michał Mirosław
2018-12-19 23:28 ` [PATCH 1/2] procfs: signal /proc/PID/comm write truncation Michał Mirosław
2018-12-20 20:38   ` Andrew Morton
2018-12-21 10:07     ` Alexey Dobriyan
2019-01-13 12:49       ` Michał Mirosław

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).