<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/procctl.2, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-02-05T20:34:55Z</updated>
<entry>
<title>libsys: relocate implementations and manpages</title>
<updated>2024-02-05T20:34:55Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-14T17:54:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8269e7673cf033aba67dab8264fe719920c70f87'/>
<id>urn:sha1:8269e7673cf033aba67dab8264fe719920c70f87</id>
<content type='text'>
Remove core system call implementations and documentation to lib/libsys
and lib/libsys/&lt;arch&gt; from lib/libc/sys and lib/libc/&lt;arch&gt;/&lt;sys&gt;.
Update paths to allow libc to find them in their new home.

Reviewed by:	kib, emaste, imp
Pull Request:	https://github.com/freebsd/freebsd-src/pull/908
</content>
</entry>
<entry>
<title>procctl.2: improve phrasing for ASLR disable</title>
<updated>2023-10-26T17:40:08Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-10-26T17:38:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4894205482555447c6b3372598c7589a66596724'/>
<id>urn:sha1:4894205482555447c6b3372598c7589a66596724</id>
<content type='text'>
Reported by:	jrtc27
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D42364
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>urn:sha1:fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>procctl: add state flags to PROC_REAP_GETPIDS reports</title>
<updated>2023-04-16T10:48:20Z</updated>
<author>
<name>Val Packett</name>
<email>val@packett.cool</email>
</author>
<published>2023-04-15T17:59:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77f0e198d9134b6ca2650d3a84d7db2d786ec0c0'/>
<id>urn:sha1:77f0e198d9134b6ca2650d3a84d7db2d786ec0c0</id>
<content type='text'>
For a process supervisor using the reaper API to track process subtrees,
it is very useful to know the state of the processes on the list.

Sponsored by:   https://www.patreon.com/valpackett
Reviewed by:    kib
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D39585
</content>
</entry>
<entry>
<title>procctl: actually require debug privileges over target</title>
<updated>2021-10-19T20:04:34Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-15T20:09:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f5bb6e5a6d488740e451ad4acd82a70b95e786cd'/>
<id>urn:sha1:f5bb6e5a6d488740e451ad4acd82a70b95e786cd</id>
<content type='text'>
for state control over TRACE, TRAPCAP, ASLR, PROTMAX, STACKGAP,
NO_NEWPRIVS, and WXMAP.

Reported by:	emaste
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
</content>
</entry>
<entry>
<title>procctl(2): add consistent shortcut P_ID:0 as curproc</title>
<updated>2021-10-19T20:04:34Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-15T19:01:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f833ab9dd187328306fa1601330fbc8332392abe'/>
<id>urn:sha1:f833ab9dd187328306fa1601330fbc8332392abe</id>
<content type='text'>
Reported by:	bdrewery, emaste
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
</content>
</entry>
<entry>
<title>procctl(2): Add PROC_WXMAP_CTL/STATUS</title>
<updated>2021-09-17T12:42:01Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-09-02T00:59:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=796a8e1ad1ae3f7b8e4c9f97bebbef5d7d5a2c16'/>
<id>urn:sha1:796a8e1ad1ae3f7b8e4c9f97bebbef5d7d5a2c16</id>
<content type='text'>
It allows to override kern.elf{32,64}.allow_wx on per-process basis.
In particular, it makes it possible to run binaries without PT_GNU_STACK
and without elfctl note while allow_wx = 0.

Reviewed by:	brooks, emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D31779
</content>
</entry>
<entry>
<title>Pass the syscall number to capsicum permission-denied signals</title>
<updated>2021-07-16T17:06:44Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2021-07-10T16:19:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf98bc28d39d6df5386ac57375af1b60af5d6bb3'/>
<id>urn:sha1:cf98bc28d39d6df5386ac57375af1b60af5d6bb3</id>
<content type='text'>
The syscall number is stored in the same register as the syscall return
on amd64 (and possibly other architectures) and so it is impossible to
recover in the signal handler after the call has returned.  This small
tweak delivers it in the `si_value` field of the signal, which is
sufficient to catch capability violations and emulate them with a call
to a more-privileged process in the signal handler.

This reapplies 3a522ba1bc852c3d4660a4fa32e4a94999d09a47 with a fix for
the static assertion failure on i386.

Approved by:	markj (mentor)

Reviewed by:	kib, bcr (manpages)

Differential Revision: https://reviews.freebsd.org/D29185
</content>
</entry>
<entry>
<title>Revert "Pass the syscall number to capsicum permission-denied signals"</title>
<updated>2021-07-10T19:26:01Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2021-07-10T19:25:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2b558281aadc266807e42ffb27d2108d308de46'/>
<id>urn:sha1:d2b558281aadc266807e42ffb27d2108d308de46</id>
<content type='text'>
This broke the i386 build.

This reverts commit 3a522ba1bc852c3d4660a4fa32e4a94999d09a47.
</content>
</entry>
<entry>
<title>Pass the syscall number to capsicum permission-denied signals</title>
<updated>2021-07-10T16:19:52Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2021-07-10T16:19:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a522ba1bc852c3d4660a4fa32e4a94999d09a47'/>
<id>urn:sha1:3a522ba1bc852c3d4660a4fa32e4a94999d09a47</id>
<content type='text'>
The syscall number is stored in the same register as the syscall return
on amd64 (and possibly other architectures) and so it is impossible to
recover in the signal handler after the call has returned.  This small
tweak delivers it in the `si_value` field of the signal, which is
sufficient to catch capability violations and emulate them with a call
to a more-privileged process in the signal handler.

Approved by:	markj (mentor)

Reviewed by:	kib, bcr (manpages)

Differential Revision: https://reviews.freebsd.org/D29185
</content>
</entry>
</feed>
