Return-Path: Received: from rere.qmqm.pl ([91.227.64.183]:10027 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728588AbeLSX2H (ORCPT ); Wed, 19 Dec 2018 18:28:07 -0500 Date: Thu, 20 Dec 2018 00:28:03 +0100 Message-Id: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH 0/2] procfs: /proc/PID/comm fixes To: linux-fsdevel@vger.kernel.org Cc: Alexey Dobriyan , Andrew Morton , David Rientjes Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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