From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796199252; b=jyrZWJrfvPb9iUeVkJw7q5ZgAWTo3l0gxJ9C0PqtR4VHX9h83Sw6GAkPFH300+Dx7JXd HG+CYpVyObEKLxrYTir/Z3FrHvIp+aNlY2rusfJ9zXLE1Wsx0iPe3S0BQzOr65Tp6gePm h18q6k7DbrBxH4OPItC26nYUn+ElQGhwNpQicNGHg9u1ju26YRzE0w0U/4q8NBUWHcd2p vI24TB8hAobtlDgJFvlpve+T+yJSz0vdn+TxMHey9NI+U3v2gswNPfE6Cw8Z1OrGr12OE Kj+LaaNrZ6H6JRGZ9MpzHlTp/LUxlF3uyoi20MeJaJrGxskEe87zwXjNZ+dLt75Ut+w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796199252; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=vRV7ZG51lA6iA/YBE5uFRZfuZBFJi0NKD1mjlcQaeF8=; b=UsratBAButkX4JeP0NPr/gOy1ytI6QPLLthbu5vkqqEl0IbpWW5Xyc6a5dd193IUu5jE hx1iHVhrM2bldykSb63DeIY9I9bUHMcN7NfUQAHVeSXFGzq/PG3KqcsGVDHQJzQ9wDcis zcmRcHQ5xBzbrOTU/3cvES1ncOwaIuD7epckTYU7LrRfJPLTH3IeK5pSt0JA1R3PcQ4YP eulyLraEvtlUOGR62UrXjdRKv6tIdCUA0J9b/5biBnpX0fO5xBynznbA3o53rDH7SIAU1 uEw2CeZE20p9Npiw7/k+tdGIkyioc5aJyA9md65NALRV+SKs6uKL17efQC3Yzfy+aqA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ltSmKCgT; arc=none smtp.remote-ip=209.85.216.41 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 730CE606A329 for ; Wed, 2 Dec 2026 08:14:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 730CE606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ltSmKCgT Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-3b564fe29cfso2049818a91.3 for ; Wed, 02 Dec 2026 00:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796199251; x=1796804051; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=vRV7ZG51lA6iA/YBE5uFRZfuZBFJi0NKD1mjlcQaeF8=; b=ltSmKCgTq1ua9NmxqycRE9jD7L6RigQ6ZIZRiiREIHDO9OHTzbnD/tUA5hj/1yaPsy h0+AMQMenddG0jr6XNXHAQq0De/9KvDFypMYYRH93GkxDGzPdKWQ9iohiCN0s1QdVtwA Drn7d3GaGrF3lUJo0szcf8nsHgucK2XrhSvD+NphybOclsC64NNalnm2Taiy5dU62yKU RbtyaAYNF/qa1DxO3uRgQ3DK5uU/l0tNlVJ8/fZbDsHn4z/YNAwFz4LiqJQqnLkVmgMW 1+AroPdBVjfdXstqt3fuzfw/YuNtpTqi5mZGLxrRAy3ovjc6W5xkjfVytqD4oRasbXlT /Rrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796199251; x=1796804051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=vRV7ZG51lA6iA/YBE5uFRZfuZBFJi0NKD1mjlcQaeF8=; b=YnbEVKEcsTl1w4Aty3hcqdPlX+ibmg84YPqlEANVeCT5odYZeQpPZhzCMTIHbq3jqO mfaXVRA6G53XSsvmFPloW0kjq4xkmrCJ95O3VSGmR3BhSANtU52XuD9B/OMezJCP5fym kmommuIPzWqj1w8cNM/KK88XRpwXCIn1umNNLjrhETZxsVKV5gGbz6KyyZEaZNmi9hxn qpjoa9Xuwkzt7JSmujvO4s9AZmJTB0kTZqKjbR3UTmcZQcFymwXNpCdmhyX8BFeY3+1s okFjxxgA8lVLccrvF229YCDUo4w2p6GyF7dAMswG3LRxBOavGilxhYdgjtsWkhbt29oH nqxw== X-Forwarded-Encrypted: i=1; AL+hErFQAEzUrAfxtxNpMjgR7i+IO6cvCnP2YrPbSeyzGmpF+jhkowI6dcKMAofstHTPOtjgFRL1zJrNIVk=@vger.kernel.org X-Gm-Message-State: APuU4Z86YRPcnshD/kjYuUFcG+/LaTXuYOe6HFx8nxAHdAFfGqcSvcuF XbTFlLdvXeGzIOqrjNQDt6NRe5IeYBlKI6WCjih380ts8DjLWOeGq+Ip X-Gm-Gg: AZFdTZcqpVrTfbBPZSYnvWjhYYN7jxCeelaSLgVGVhrBoOkUnSPgdACwzw/pf8tngpp sx3D9sKJaOlUej250jngUMIoVCF9OD85QHWjW1iZdUFuus2z9qR+5LPrMOmL+4IOZeneezrNeUU /CBRgXxECYc1CGspd8N6inHgBMQnSYTCh/ZMbJNWowe6OCOaTDbronAk4rRy4Xh3qMlXZdjo+ap OnaEYOcXhQ7WErHbhDX1cabRrtAdPoik0p/wCmZyDXJPLUMwNCf2rDwdY8IiJCrkwaNY/7O70ov Z0+uRbqgjymGpdOEw8rSshxo07RCd296iT4xLEVLLvaKdbdKR2Puw8xICrLBMta/eIfTF3hml2q rEnayZXwa1oyZYLz46dt4CvFlNYGPl0G+JbpPTwIdEd2tXkBu8zV1TfX+rTdIUn4yiNzw4fVcet gTBfataATJ/8a0qF9otiDiT3IbitllcdgRkdsFYm72uGj7NhJpIJzSpk9K7ehl6cXXZ8piALI46 qfK/rfrm9tXDVSvChG0PInoBPfW0tOo3N5JoUF37CtzSePfTHpo00p/W+k4xzDaYQ0bhjXyIqJH 9HRudTNXlUi0avNyT+/u4Y2qkTN/bMtMjzolYBd4+VhFSce6ddXtb2uhNjjkBaMbOqWIirAMzM6 M3vDNMAu+wVB7EMGjgPFiCvuJrH4dyE0TIr9IQqIIhFUR9oIzl6QGuwRIPo2cYj3YKdDM49dyFC P3Kv0k3U2q/MUNT+y9kChTdjzpx6jdFAUfdzY= X-Received: by 2002:a17:90b:3e81:b0:3b3:b92a:aff9 with SMTP id 98e67ed59e1d1-3b41c977019mr35150257a91.56.1796199251259; Wed, 02 Dec 2026 00:14:11 -0800 (PST) Received: from localhost.localdomain (c-67-170-60-64.hsd1.wa.comcast.net. [67.170.60.64]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5210be133sm29956405a91.11.2026.12.02.00.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 00:14:10 -0800 (PST) From: Gabriel Changamire To: Kees Cook Cc: Andy Lutomirski , Will Drewry , Shuah Khan , Jonathan Corbet , Randy Dunlap , linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Gabriel Changamire Subject: [PATCH 1/2] docs: proc: document Seccomp_filters in /proc/PID/status Date: Wed, 2 Dec 2026 08:13:42 +0000 Message-ID: <20261202081343.9325-2-gaberashawn@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261202081343.9325-1-gaberashawn@gmail.com> References: <20261202081343.9325-1-gaberashawn@gmail.com> X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Commit c818c03b661c ("seccomp: Report number of loaded filters in /proc/$pid/status") added a Seccomp_filters line to /proc/PID/status in v5.9, but the field was never added to the documentation. Add it to the example output and to Table 1-2, next to the existing Seccomp entry. Signed-off-by: Gabriel Changamire --- Documentation/filesystems/proc.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index fa7a468e8edf..36a59f38e1c8 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -202,6 +202,7 @@ read the file /proc/PID/status:: CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 + Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled voluntary_ctxt_switches: 0 @@ -288,6 +289,7 @@ It's slow but very precise. CapAmb bitmap of ambient capabilities NoNewPrivs no_new_privs, like prctl(PR_GET_NO_NEW_PRIV, ...) Seccomp seccomp mode, like prctl(PR_GET_SECCOMP, ...) + Seccomp_filters number of seccomp filters attached to the task Speculation_Store_Bypass speculative store bypass mitigation status SpeculationIndirectBranch indirect branch speculation mode Cpus_allowed mask of CPUs on which this process may run -- 2.47.3