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.
This commit is contained in:
Olivier Certner 2025-04-22 18:18:45 +02:00
parent a2132d9173
commit 4e4739dd07
No known key found for this signature in database
GPG key ID: 8CA13040971E2627

View file

@ -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