Page MenuHomeFreeBSD

D49620.id152980.diff
No OneTemporary

D49620.id152980.diff

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -72,7 +72,7 @@
.Po
as if using
.Fl U
-with the real user ID and
+with the effective user ID and
.Fl X
.Pc .
A different set of processes can be selected for display by using combinations
@@ -965,14 +965,6 @@
instead, reserving
.Fl g
to query by group leaders.
-.Pp
-.Nm
-currently determines the processes of the current user by matching their
-effective user IDs with its own real user ID, whereas
-.St -p1003.1-2024
-mandates the traditional UNIX practice of using the effective user ID as the
-current user.
-This is expected to be changed soon.
.Sh HISTORY
The
.Nm
@@ -985,22 +977,6 @@
cannot run faster than the system and is run as any other scheduled
process, the information it displays can never be exact.
.Pp
-.Nm
-currently uses its real user ID as the current user when determining default
-processes to show.
-Besides being inconsistent with POSIX, using the real user ID essentially makes
-sense for programs installed as setuid executables, which
-.Nm
-is not.
-It also complicates the use of
-.Nm
-from other setuid executables, which cannot rely on its default process listing.
-Finally, no other
-.Nm
-implementation (for other BSDs, illumos or Linux) behaves like this.
-For all these reasons, the behavior is expected to be changed soon to using the
-effective user ID instead.
-.Pp
.Nm ps
currently does not correctly limit the ouput width, and in most cases does not
limit it at all when it should.

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 18, 3:17 AM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36883405
Default Alt Text
D49620.id152980.diff (1 KB)

Event Timeline