git: a8dccfa7462b - main - RELNOTES: ps(1): Change in behavior for option '-U'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Apr 2025 12:23:38 UTC
The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=a8dccfa7462b47e326a863d06f5575e4ed11b5be commit a8dccfa7462b47e326a863d06f5575e4ed11b5be Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-04-22 16:18:45 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-04-28 12:19:32 +0000 RELNOTES: ps(1): Change in behavior for option '-U' MFC after: 3 days Sponsored by: The FreeBSD Foundation --- RELNOTES | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/RELNOTES b/RELNOTES index ee1a5e41bd75..4e0b0a0b3cdb 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. +995b690d1398: + 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. + 1aabbb25c9f9: 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