All of lore.kernel.org
 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 1/2] procfs: signal /proc/PID/comm write truncation Michał Mirosław
  2018-12-19 23:28 ` [PATCH 2/2] procfs: lseek(/proc/PID/comm, 0, SEEK_END) Michał Mirosław
  0 siblings, 2 replies; 7+ 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] 7+ messages in thread
* [PATCH 0/2] procfs: /proc/pid/comm fixes
@ 2017-08-31 19:12 Michał Mirosław
  2017-08-31 19:12 ` [PATCH 1/2] procfs: signal /proc/pid/comm write truncation Michał Mirosław
  0 siblings, 1 reply; 7+ messages in thread
From: Michał Mirosław @ 2017-08-31 19:12 UTC (permalink / raw)
  To: Andrew Morton, Alexey Dobriyan, Ingo Molnar, Michal Hocko,
	John Stultz, Eric W. Biederman, Al Viro
  Cc: linux-kernel

These two patches are preparation for extending TASK_COMM_LEN above
current 16-byte limit.

Michał Mirosław (2):
  procfs: signal /proc/pid/comm write truncation
  procfs: let userspace find out max /proc/pid/comm length

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

-- 
2.11.0

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

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

Thread overview: 7+ 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 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
2018-12-19 23:28 ` [PATCH 2/2] procfs: lseek(/proc/PID/comm, 0, SEEK_END) Michał Mirosław
  -- strict thread matches above, loose matches on Subject: below --
2017-08-31 19:12 [PATCH 0/2] procfs: /proc/pid/comm fixes Michał Mirosław
2017-08-31 19:12 ` [PATCH 1/2] procfs: signal /proc/pid/comm write truncation Michał Mirosław

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.