<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/ps/ps.1, branch releng/11.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-04-16T16:12:30Z</updated>
<entry>
<title>MFC r326430:</title>
<updated>2018-04-16T16:12:30Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-04-16T16:12:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d2e3dd14775a72dcb4936469d55895e89a40a693'/>
<id>urn:sha1:d2e3dd14775a72dcb4936469d55895e89a40a693</id>
<content type='text'>
Add "vmaddr" ps(1) keyword.
</content>
</entry>
<entry>
<title>MFC 330872:</title>
<updated>2018-03-24T00:26:42Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-03-24T00:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3eddda31cb4aaa870b2650f536fd4dfe1eacfcac'/>
<id>urn:sha1:3eddda31cb4aaa870b2650f536fd4dfe1eacfcac</id>
<content type='text'>
Add a "jail" keyword to list the name of a jail rather than its ID.
</content>
</entry>
<entry>
<title>MFC 328306: Remove some KSE references from ps(1).</title>
<updated>2018-02-28T21:49:44Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-02-28T21:49:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4dbc4be7eb53223be410f674082774881d0563d0'/>
<id>urn:sha1:4dbc4be7eb53223be410f674082774881d0563d0</id>
<content type='text'>
- Simplify the description of -H to assume 1:1 threading.
- Drop 'process' from description of 'lwp' field and the corresponding
  XO field name.
- Do add an expansion of LWP in the description of 'lwp' and 'nlwps'.
- Add 'tid' as an alias for the 'lwp' field.
</content>
</entry>
<entry>
<title>MFC r304007:</title>
<updated>2018-02-11T07:00:40Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-02-11T07:00:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b59dc70a516ff8627129a768902dd8b44ff4d220'/>
<id>urn:sha1:b59dc70a516ff8627129a768902dd8b44ff4d220</id>
<content type='text'>
Correct the history of where ps first appeared.

PR:		211741
Submitted by:	Sevan Janiyan &lt;venture37@geeklan.co.uk&gt;
</content>
</entry>
<entry>
<title>MFC r324427:</title>
<updated>2017-11-14T18:01:48Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2017-11-14T18:01:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0672a81d46d8a0138085d5227732636b3684efb4'/>
<id>urn:sha1:0672a81d46d8a0138085d5227732636b3684efb4</id>
<content type='text'>
Document "tdnam" keyword to ps(1), and add "tdname" alias.

MFC r324429:

Fix long name (used by libxo) for the "tdnam" ps(1) keyword.

MFC r324430:

Undocument "tdnam" (leaving it as an alias), and rename the column
to TDNAME.
</content>
</entry>
<entry>
<title>MFC r323263:</title>
<updated>2017-10-04T12:02:42Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2017-10-04T12:02:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=16375ed5352e7d198202c5fff283df8ab9a35fcc'/>
<id>urn:sha1:16375ed5352e7d198202c5fff283df8ab9a35fcc</id>
<content type='text'>
Hint that the "-o emul" option for ps(1) shows the ABI.
</content>
</entry>
<entry>
<title>MFC r323228:</title>
<updated>2017-10-04T12:02:05Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2017-10-04T12:02:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3f3f5dffb60855d6df9622f95334ae2e7c29aeac'/>
<id>urn:sha1:3f3f5dffb60855d6df9622f95334ae2e7c29aeac</id>
<content type='text'>
Make ps(1) flag processes in capsicum(4) capability mode with "C".
</content>
</entry>
<entry>
<title>MFC r321368:</title>
<updated>2017-08-05T09:48:58Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2017-08-05T09:48:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f2072fbde21b9671d28138f2753210bae60c4774'/>
<id>urn:sha1:f2072fbde21b9671d28138f2753210bae60c4774</id>
<content type='text'>
Use the "tree" word in ps(1) -d option description, to make it easier
to find.
</content>
</entry>
<entry>
<title>MFC r303423:</title>
<updated>2016-08-15T21:33:20Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-08-15T21:33:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=83b37b00aae1860e3b9dbbac53d14ef24a691e6a'/>
<id>urn:sha1:83b37b00aae1860e3b9dbbac53d14ef24a691e6a</id>
<content type='text'>
Force SIGSTOP to be the first signal reported after the attach.
</content>
</entry>
<entry>
<title>MFC 302900,302902,302921,303461,304009:</title>
<updated>2016-08-15T21:10:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-08-15T21:10:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f41e13d35110cea76af62db36e7c6d8e484d7751'/>
<id>urn:sha1:f41e13d35110cea76af62db36e7c6d8e484d7751</id>
<content type='text'>
Add a mask of optional ptrace() events.

302900:
Add a test for user signal delivery.

This test verifies we get the correct ptrace event details when a signal
is posted to a traced process from userland.

302902:
Add a mask of optional ptrace() events.

ptrace() now stores a mask of optional events in p_ptevents.  Currently
this mask is a single integer, but it can be expanded into an array of
integers in the future.

Two new ptrace requests can be used to manipulate the event mask:
PT_GET_EVENT_MASK fetches the current event mask and PT_SET_EVENT_MASK
sets the current event mask.

The current set of events include:
- PTRACE_EXEC: trace calls to execve().
- PTRACE_SCE: trace system call entries.
- PTRACE_SCX: trace syscam call exits.
- PTRACE_FORK: trace forks and auto-attach to new child processes.
- PTRACE_LWP: trace LWP events.

The S_PT_SCX and S_PT_SCE events in the procfs p_stops flags have
been replaced by PTRACE_SCE and PTRACE_SCX.  PTRACE_FORK replaces
P_FOLLOW_FORK and PTRACE_LWP replaces P2_LWP_EVENTS.

The PT_FOLLOW_FORK and PT_LWP_EVENTS ptrace requests remain for
compatibility but now simply toggle corresponding flags in the
event mask.

While here, document that PT_SYSCALL, PT_TO_SCE, and PT_TO_SCX both
modify the event mask and continue the traced process.

302921:
Rename PTRACE_SYSCALL to LINUX_PTRACE_SYSCALL.

303461:
Note that not all optional ptrace events use SIGTRAP.

New child processes attached due to PTRACE_FORK use SIGSTOP instead of
SIGTRAP.  All other ptrace events use SIGTRAP.

304009:
Remove description of P_FOLLOWFORK as this flag was removed.
</content>
</entry>
</feed>
