🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20246

[PATCH iproute2] ss: show the process column for -T, -Z, and -z

#20246
From: Frank Dressler
Date: Sat, 21 Nov 2026 22:50
28 lines
8915 bytes
The process column was disabled unless -p was passed. However,
ss with -T, -Z, and -z still collects the information, and the
man page requires them to show it without -p.

Fixes: 84c45b8acb30 ("Reapply "ss: prevent "Process" column from being printed unless requested"")
Signed-off-by: Frank Dressler <frank@dressler.pro>
---
 misc/ss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/ss.c b/misc/ss.c
index f4160f59..b5430a01 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -5787,7 +5787,7 @@ int main(int argc, char *argv[])
 	if (ssfilter_parse(&current_filter.f, argc, argv, filter_fp))
 		usage();
 
-	if (!show_processes)
+	if (!show_processes && !show_threads && !show_proc_ctx && !show_sock_ctx)
 		columns[COL_PROC].disabled = 1;
 
 	if (!show_queues) {

base-commit: 87cb3f4198507331b9308689d4a726d17db63dd3
-- 
2.56.1
Technical Details
Message-ID: <20261121225031.106742-1-frank@dressler.pro>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368480-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368480-linux-kernel-netdev=dewy.ru
From: frank@dressler.pro (Frank Dressler)
Newsgroups: linux.kernel.netdev
Subject: [PATCH iproute2] ss: show the process column for -T, -Z, and -z
Date: Sat, 21 Nov 2026 22:50:31 +0000
Organization: Usenet Network
Message-ID: <20261121225031.106742-1-frank@dressler.pro>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3513478"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:XPsubKHXW4mQcdGGKx+ADdy06Xc= sha256:aCfMn+AZG7gVcslcY+y5Z5TeyAT2+5C6hKx++rLiz9w=
	sha1:WHJhdw3jJef5H5BTJAWbWBwNuzA= sha256:K0l9mUnHlm7fFuC3I3nJvAu3qy/Z+XyigeHsug4nA+A=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B5264115C08; Sun, 22 Nov 2026 01:51:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.051
X-Spam-Status: No, score=-2.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, PDS_PRO_TLD=1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=dressler.pro
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id f-ghPROD1y0e;
	Sun, 22 Nov 2026 01:51:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-368480-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=dressler.pro
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 769AC115BD8; Sun, 22 Nov 2026 01:50:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 065962C549; Sat, 21 Nov 2026 22:50:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795301454;
	b=ZAYlDhWdqAgr7BtXpsYOWxyLIRAtPw3HHHJUmM+wVFijd0YV0N7NgDvSIOBtz/1k0C28
	 LDZKDgMv770rmFPvaFmSiZcaXA7+XbkzYUcTDJpL7x24ToahR5bXXpx64B2sfOWnO4nm5
	 /4pVK3XA1idFX51wN6ZRmMDs2RJ4u+yjcDotGM7lKx/8z+z3AUq2nDUxjSkL2+SpjAZtK
	 saWtZfQuGqvWLXhPKKGb4YsFitRc7Tn43oEYhQyNJv2G1aq0MZZas6f0FYei8ji4rDjJd
	 h9aChf9BTJDQPOxNSbT7O94EA2Q9VPTgnf8wNhS7fEbPzbIAiXWbvulKuifCIAc6cXQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795301454;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To:
	 Cc:Subject:Date:Message-ID:X-Mailer:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Transfer-Encoding;
	bh=c5oP9ex2gKQC9XOc6NFSr7DB6WiPxByJ0WCu8nSvzmk=;
	b=q+SXVZb7sWI5z9YNZS1Xv5mJ6w6qbs8bH3+t89d9pVwZ3nO2yVxnvLkZOBIeqIrIHn67
	 Umd5k7y5iXS5IejHFXMYGEkRe1JDQK5Ak3Ulhx3L7oPqqXVT8n/a4XoMpC4UH1NfZYgXf
	 z1lShyUJ3GogxtmQTAoMGLZMaO0BFRgl9SSZ6prNnSY2+hFO7nez2vMH0Pqx8iONwdjIX
	 Iq9/3TsaiW6oAT8YKMinJU804MJyHwIFjMii61NYxQOxpqS5vZ18WIUkBqJ/iZ5YLa3Bo
	 e8HKqMITmcl/lWqHOs016Tgh+ZAFKqT8wbDCxZvJd8lCN0OyN87zo6MsL5Xbf85Co1g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=dressler.pro header.i=@dressler.pro header.a=rsa-sha256 header.s=uddkim-202310 header.b=a37GJ+SR;
	dmarc=pass header.from=dressler.pro;
	spf=pass smtp.mailfrom=dressler.pro;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A2E71606A339;
	Sat, 21 Nov 2026 22:50:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=dressler.pro header.i=@dressler.pro header.a=rsa-sha256 header.s=uddkim-202310 header.b=a37GJ+SR
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=62.146.106.33
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795301453;
	b=JsYK2YjlfmpC4UUcKNBiT/eUEsPWrPoQR3tcah1bIco68qIyHrzFomi7lZtl6nFXK5sj
	 1qcVgYRgJC3HVqjGdRtF93hjMXNKD+zBXLn0qbUSe03cNzEhBMDKmAvVUGQEjeVIva4GR
	 ipUcs26S//NYtU+NtS8r/E4t3/+GdbwauctB+PWjT59ypXh90d/XejdAX0pMz544aInZ3
	 EnbN9e/4679F+zTPNgspT/+cu0BHLgzw0gCACam4g2IBIXbNIDZeAO7zKkx1vZvA631lX
	 z+wgIa4WO1vAXakfImKI8ZsOIRxdh/d5AHTNO8pU6F0d822JJUWnqaxZLRrB7fTkGuA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795301453;
	h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding;
	bh=c5oP9ex2gKQC9XOc6NFSr7DB6WiPxByJ0WCu8nSvzmk=;
	b=nfieodxy+COaDN9Olb/65gj6hveBGegouXgRgpROkXIHv+x43o5EmICZM+7Xbi6yeQU/
	 uYx6KWzhfIiuiOhsgTK7E/UCLGim+E2Yd31J2TzfDFTEP/sNqcqMc+HvTtNjBvTqr1WvR
	 fAS0o+mbMpwtmOFp2li39xX2bJC7p7nsmg0Bb76uKoZ85fH5MZ0QX6DHomTO4qRLwzyNG
	 izilT90YAwDMf6ELJnMLHWqrsC5vkPQHluXzTbS88AIo7OPS9di8Iz2DMfZo0oEuBpT1f
	 W5qbcNxh7rTIPIH3UdizBf5FMVJ6l6XTHWS5SipsxmeLDYQgtgQQ1ZTD7cNEioAdBkg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=dressler.pro;
	spf=pass smtp.mailfrom=dressler.pro;
	dkim=pass header.d=dressler.pro header.i=@dressler.pro header.a=rsa-sha256 header.s=uddkim-202310 header.b=a37GJ+SR;
	arc=none smtp.remote-ip=62.146.106.33
X-Received: from smtp02-ext3.udag.de (smtp02-ext3.udag.de [62.146.106.33])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B751606A330
	for <netdev@vger.kernel.org>; Sat, 21 Nov 2026 22:50:53 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3B751606A330
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dressler.pro
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dressler.pro
X-Received: from machine (unknown [37.228.226.218])
	by smtp02-ext3.udag.de (Postfix) with ESMTPA id CC089E0AFB;
	Sat, 21 Nov 2026 23:50:50 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dressler.pro;
	s=uddkim-202310; t=1795301451;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding;
	bh=c5oP9ex2gKQC9XOc6NFSr7DB6WiPxByJ0WCu8nSvzmk=;
	b=a37GJ+SRKm8DuHf89VC2mIIj9kDyxzz5XV/hp/sKA0gYHDEKJivy0tKNqhtrirFJBu0F/A
	KhYuzFuEXo79khPWrq/ARKHNQIf2ja1ZlAwZSiL9neAsuJ/jhg69bwTkjCpZGGlQcfczEL
	8lcJQ+lpXL/5rzk40LoRZRru+fDB79F/olhiDu+fX4XcDWbtjsZIvfkKE8rXv5e4NE018o
	ng/AXhS5MVRem7jZw0KvOFzgga/QTmWS9eZDWDU60FAHsGrjreYSn1eH3K1YJ/srlHkaMS
	n1HiCKHjv5MfSguFDvk01VbtNCkPv4YKYVysretUItK9lyhtMhb/Coh5yHZkpA==
X-Authentication-Results: smtp02-ext3.udag.de;
	auth=pass smtp.auth=dressler-pro-0001 smtp.mailfrom=frank@dressler.pro
X-Cc: stephen@networkplumber.org
X-Mailer: git-send-email 2.56.1
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list