<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libsysdecode/mktables, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>fd: add close_range(..., CLOSE_RANGE_CLOEXEC)</title>
<updated>2022-03-07T12:15:47+00:00</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2022-03-03T12:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=88919794940543d0b6743a035a44a51b9d8ff5d8'/>
<id>88919794940543d0b6743a035a44a51b9d8ff5d8</id>
<content type='text'>
For compatibility with Linux.

MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34424

(cherry picked from commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For compatibility with Linux.

MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34424

(cherry picked from commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove PT_GET_SC_ARGS_ALL</title>
<updated>2022-02-21T13:34:16+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-09-15T13:24:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cae9d803a9562a003d00bf8f7b90674e011bae7'/>
<id>4cae9d803a9562a003d00bf8f7b90674e011bae7</id>
<content type='text'>
Reimplement bdf0f24bb16d556a5b by checking for the caller' ABI in
the implementation of PT_GET_SC_ARGS, and copying out everything if
it is Linuxolator.

Also fix a minor information leak: if PT_GET_SC_ARGS_ALL is done on the
thread reused after other process, it allows to read some number of that
thread last syscall arguments. Clear td_sa.args in thread_alloc().

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D31968

(cherry picked from commit f575573ca57716395ad88b962388a55d755cf6a7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reimplement bdf0f24bb16d556a5b by checking for the caller' ABI in
the implementation of PT_GET_SC_ARGS, and copying out everything if
it is Linuxolator.

Also fix a minor information leak: if PT_GET_SC_ARGS_ALL is done on the
thread reused after other process, it allows to read some number of that
thread last syscall arguments. Clear td_sa.args in thread_alloc().

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D31968

(cherry picked from commit f575573ca57716395ad88b962388a55d755cf6a7)
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: implement PTRACE_GET_SYSCALL_INFO</title>
<updated>2022-02-21T13:23:50+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-09-12T11:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8371bf67d632ddc1117bbaa5956af260e62f26ac'/>
<id>8371bf67d632ddc1117bbaa5956af260e62f26ac</id>
<content type='text'>
This is one of the pieces required to make modern (ie Focal)
strace(1) work.

Reviewed By:	jhb (earlier version)
Sponsored by:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D28212

(cherry picked from commit bdf0f24bb16d556a5b1e01cdfc087d08e91ac572)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is one of the pieces required to make modern (ie Focal)
strace(1) work.

Reviewed By:	jhb (earlier version)
Sponsored by:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D28212

(cherry picked from commit bdf0f24bb16d556a5b1e01cdfc087d08e91ac572)
</pre>
</div>
</content>
</entry>
<entry>
<title>libsysdecode: Decode sendmsg/recvmsg flags containing an underscore</title>
<updated>2022-01-11T14:28:42+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-01-04T14:40:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fcf4b06a5e6a0891f894ffee42a62ad72968eafa'/>
<id>fcf4b06a5e6a0891f894ffee42a62ad72968eafa</id>
<content type='text'>
Otherwise MSG_CMSG_CLOEXEC is not decoded.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit e2576591b9bdccc187bcd509be760c18c96a7790)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise MSG_CMSG_CLOEXEC is not decoded.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit e2576591b9bdccc187bcd509be760c18c96a7790)
</pre>
</div>
</content>
</entry>
<entry>
<title>libsysdecode: fix decoding of TCP_NOPUSH and TCP_MD5SIG</title>
<updated>2021-03-02T12:30:24+00:00</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2021-02-09T22:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2a9b68d5e1bba633c37cc829f52e79e1281e910b'/>
<id>2a9b68d5e1bba633c37cc829f52e79e1281e910b</id>
<content type='text'>
TCP_FASTOPEN_MIN_COOKIE_LEN was incorrectly registered as a name of
a IPPROTO_TCP level socket option, which overwrote TCP_NOPUSH.
TCP_FASTOPEN_PSK_LEN was incorrectly registered as a name of an
IPPROTO_TCP level socket option, which overwrote TCP_MD5SIG.

Sponsored by:	Netflix, Inc.

(cherry picked from commit f25266bee7dafb10f03e06537c8127cc17335bed)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TCP_FASTOPEN_MIN_COOKIE_LEN was incorrectly registered as a name of
a IPPROTO_TCP level socket option, which overwrote TCP_NOPUSH.
TCP_FASTOPEN_PSK_LEN was incorrectly registered as a name of an
IPPROTO_TCP level socket option, which overwrote TCP_MD5SIG.

Sponsored by:	Netflix, Inc.

(cherry picked from commit f25266bee7dafb10f03e06537c8127cc17335bed)
</pre>
</div>
</content>
</entry>
<entry>
<title>libsysdecode: decode _UMTX_OP flags</title>
<updated>2020-12-09T03:22:44+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-12-09T03:22:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b27074b252cae3c7aee8f05f0c968dd26fa055b'/>
<id>3b27074b252cae3c7aee8f05f0c968dd26fa055b</id>
<content type='text'>
Assume that UMTX_OP with a double underbar following is a flag, while any
underbar+alphanumeric combination immeiately following is an op.

This was a part of D27325.

Reviewed by:	kib
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assume that UMTX_OP with a double underbar following is a flag, while any
underbar+alphanumeric combination immeiately following is an op.

This was a part of D27325.

Reviewed by:	kib
</pre>
</div>
</content>
</entry>
<entry>
<title>Add MSG_TLSAPPDATA to lib/libsysdecode/mktables.</title>
<updated>2020-08-20T03:53:18+00:00</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2020-08-20T03:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a8537fe4041c807c72d0004ddd050fff204afdb9'/>
<id>a8537fe4041c807c72d0004ddd050fff204afdb9</id>
<content type='text'>
I have no idea what this does (and until now that it even existed), but
apparently it needs this entry changed for the MSG_TLSAPPDATA, since
it is kernel only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have no idea what this does (and until now that it even existed), but
apparently it needs this entry changed for the MSG_TLSAPPDATA, since
it is kernel only.
</pre>
</div>
</content>
</entry>
<entry>
<title>libsysdecode: grab shmflags from sys/mman.h, add decode method</title>
<updated>2020-02-19T14:52:32+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-19T14:52:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c70019dd0a90966b3a784dfd0747dfe8ccfb04fc'/>
<id>c70019dd0a90966b3a784dfd0747dfe8ccfb04fc</id>
<content type='text'>
Any SHM_* flag here is (and likely will continue to be) a shmflag that may
be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to
adding appropriate support to truss/kdump.

Reviewed by:	kaktus (slightly earlier version)
Differential Revision:	https://reviews.freebsd.org/D23733
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Any SHM_* flag here is (and likely will continue to be) a shmflag that may
be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to
adding appropriate support to truss/kdump.

Reviewed by:	kaktus (slightly earlier version)
Differential Revision:	https://reviews.freebsd.org/D23733
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework r339635 to fix .depend.tables.h handling.</title>
<updated>2019-08-16T22:34:10+00:00</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2019-08-16T22:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dc89d06976b7ce93b0e934f3dcd567def521bab4'/>
<id>dc89d06976b7ce93b0e934f3dcd567def521bab4</id>
<content type='text'>
Avoid touching the tables.h file unless it has changed to avoid unneeded
rebuilds.

Also revert r350301's explicit dependencies.

Reviewed by:	emaste
MFC after:	2 weeks
X-MFC-With:	r339635 (kevans request)
PR:		238828
Sponsored by:	DellEMC
Differential Revision:	https://reviews.freebsd.org/D21295
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid touching the tables.h file unless it has changed to avoid unneeded
rebuilds.

Also revert r350301's explicit dependencies.

Reviewed by:	emaste
MFC after:	2 weeks
X-MFC-With:	r339635 (kevans request)
PR:		238828
Sponsored by:	DellEMC
Differential Revision:	https://reviews.freebsd.org/D21295
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix regex for extracting SHM_* values for libsysdecode</title>
<updated>2018-10-23T06:31:19+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2018-10-23T06:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c5c5072bb0d088216ac3f8602929274a543e1057'/>
<id>c5c5072bb0d088216ac3f8602929274a543e1057</id>
<content type='text'>
There was an additional + after the {6} which is apparently ignored by the
FreeBSD regex implementation but was giving me an error when compiling on
MacOS.

While changing this also make sure that tables.h is not created if mktables
fails. The current rule would create a partial tables.h which causes following
incremental builds to use that broken file and fail with an unrelated
compilation error or even succeed even though they shouldn't.

Approved By:	jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D17069
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was an additional + after the {6} which is apparently ignored by the
FreeBSD regex implementation but was giving me an error when compiling on
MacOS.

While changing this also make sure that tables.h is not created if mktables
fails. The current rule would create a partial tables.h which causes following
incremental builds to use that broken file and fail with an unrelated
compilation error or even succeed even though they shouldn't.

Approved By:	jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D17069
</pre>
</div>
</content>
</entry>
</feed>
