From 4e4739dd0745e04940cb01848a1faf2b8cf08efc Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Tue, 22 Apr 2025 18:18:45 +0200 Subject: [PATCH] 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 bea7e78c3a2..82c0aacd97e 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 all