From: Jakub Kicinski Date: Sat, 8 Mar 2025 03:39:57 +0000 (-0800) Subject: Merge branch 'tcp-ulp-diag-expose-more-to-non-net-admin-users' X-Git-Tag: v6.15-rc1~160^2~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=530581047d32d2f2c92187a467806a8d629f5356;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'tcp-ulp-diag-expose-more-to-non-net-admin-users' Matthieu Baerts says: ==================== tcp: ulp: diag: expose more to non net admin users Since its introduction in commit 61723b393292 ("tcp: ulp: add functions to dump ulp-specific information"), the ULP diag info have been exported only to users with CAP_NET_ADMIN capability. Not everything is sensitive, and some info can be exported to all users in order to ease the debugging from the userspace side without requiring additional capabilities. First, the ULP name can be easily exported. Then more depending on each layer: - On kTLS side, it looks like everything can be exported to all users: version, cipher type, tx/rx user config type, plus some flags. - On MPTCP side, everything but the sequence numbers are exported to all non net admin users, similar to TCP. ==================== Link: https://patch.msgid.link/20250306-net-next-tcp-ulp-diag-net-admin-v1-0-06afdd860fc9@kernel.org Signed-off-by: Jakub Kicinski --- 530581047d32d2f2c92187a467806a8d629f5356