Date: Thu, 1 May 2025 19:51:47 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4e4739dd0745 - stable/14 - RELNOTES: ps(1): Change in behavior for option '-U' Message-ID: <202505011951.541Jpl9m068818@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=4e4739dd0745e04940cb01848a1faf2b8cf08efc commit 4e4739dd0745e04940cb01848a1faf2b8cf08efc Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-04-22 16:18:45 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-05-01 19:45:48 +0000 RELNOTES: ps(1): Change in behavior for option '-U' MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit a8dccfa7462b47e326a863d06f5575e4ed11b5be) Commit hash edited on MFC. --- RELNOTES | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/RELNOTES b/RELNOTES index bea7e78c3a2b..82c0aacd97ee 100644 --- a/RELNOTES +++ b/RELNOTES @@ -10,6 +10,16 @@ newline. Entries should be separated by a newline. Changes to this file should not be MFCed. +a2132d91739d: + ps(1)'s '-U' option has been changed to select processes by their real + user IDs instead of their effective one, in accordance with POSIX and + the use case of wanting to list processes launched by some user, which + is expected to be more frequent than listing processes having the rights + of some user. This only affects the selection of processes whose real + and effective user IDs differ. After this change, ps(1)'s '-U' flag + behaves differently then in other BSDs but identically to that of + Linux's procps and illumos. + 1e8dc267ca91: ps(1)'s default list of processes now comes from matching its effective user ID instead of its real user ID with the effective user ID of allhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505011951.541Jpl9m068818>
