mbox series

[0/2] procfs: /proc/PID/comm fixes

Message ID cover.1545261970.git.mirq-linux@rere.qmqm.pl (mailing list archive)
Headers show
Series procfs: /proc/PID/comm fixes | expand

Message

Michał Mirosław Dec. 19, 2018, 11:28 p.m. UTC
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(-)