Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132978088
D49620.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49620.diff
View Options
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -68,7 +68,7 @@
.Fl -libxo .
.Pp
By default, only the processes of the calling user, determined by matching their
-effective user ID with the real user ID of the
+effective user ID with that of the
.Nm
process, that have controlling terminals are shown.
A different set of processes can be selected for display by using combinations
@@ -978,14 +978,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
@@ -998,22 +990,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
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 6:34 PM (7 m, 49 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24063057
Default Alt Text
D49620.diff (1 KB)
Attached To
Mode
D49620: ps.1: Note change in default selection of current user's processes
Attached
Detach File
Event Timeline
Log In to Comment