<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libsysdecode/flags.c, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-03-07T12:15:47Z</updated>
<entry>
<title>fd: add close_range(..., CLOSE_RANGE_CLOEXEC)</title>
<updated>2022-03-07T12:15:47Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2022-03-03T12:45:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88919794940543d0b6743a035a44a51b9d8ff5d8'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>libsysdecode: decode _UMTX_OP flags</title>
<updated>2020-12-09T03:22:44Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-12-09T03:22:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b27074b252cae3c7aee8f05f0c968dd26fa055b'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>libsysdecode: account for invalid protection flags</title>
<updated>2020-11-26T09:07:45Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2020-11-26T09:07:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=569da02b0cab69aab0707d9791125d7b6c08a86c'/>
<id>urn:sha1:569da02b0cab69aab0707d9791125d7b6c08a86c</id>
<content type='text'>
Reported by:	jhb
MFC with:	r368022
</content>
</entry>
<entry>
<title>libsysdecode: correctly decode mmap flags</title>
<updated>2020-11-25T16:30:57Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2020-11-25T16:30:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cbec4439713c3b4cfcbbe36ff40d5e4fa57492f'/>
<id>urn:sha1:4cbec4439713c3b4cfcbbe36ff40d5e4fa57492f</id>
<content type='text'>
r352913 added decoding of mmap PROT_MAX()'d flags but didn’t account for the
case where different values were specified for PROT_MAX and regular flags.
Fix it.

Submitted by:	sigsys_gmail.com
Reported by:	sigsys_gmail.com
MFC after:	7 days
Differential Revision:	https://reviews.freebsd.org/D27312
</content>
</entry>
<entry>
<title>libsysdecode: grab shmflags from sys/mman.h, add decode method</title>
<updated>2020-02-19T14:52:32Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-19T14:52:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c70019dd0a90966b3a784dfd0747dfe8ccfb04fc'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>libsysdecode: decode PROT_MAX flags</title>
<updated>2019-09-30T19:03:43Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2019-09-30T19:03:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1dd36cfca5c95289bd2ea68ed10d5652fc92c57'/>
<id>urn:sha1:c1dd36cfca5c95289bd2ea68ed10d5652fc92c57</id>
<content type='text'>
Extend libsysdecode to pretty-print PROT_MAX flags and fix decoding of regular protection flags broken since r349240.

before:
truss:
mmap(0x0,40960,0x30000,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366234624 (0x800632000)
kdump:
11439 protmax  CALL  mmap(0,0xa000,0x30000&lt;&gt;&lt;invalid&gt;196608,0x21002&lt;MAP_PRIVATE|MAP_ANON|MAP_NOCORE&gt;,0xffffffff,0)

after:
truss:
mmap(0x0,40960,PROT_MAX(PROT_READ|PROT_WRITE)|PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366234624 (0x800632000)
kdump:
11439 protmax  CALL  mmap(0,0xa000,0x30000&lt;PROT_MAX(PROT_READ|PROT_WRITE)|PROT_READ|PROT_WRITE&gt;,0x21002&lt;MAP_PRIVATE|MAP_ANON|MAP_NOCORE&gt;,0xffffffff,0)

Reviewed by:	kib (mentor)
Approved by:	kib (mentor)
Differential Revision:	https://reviews.freebsd.org/D21706
</content>
</entry>
<entry>
<title>Add missing SCTP_EOR entry.</title>
<updated>2019-02-04T13:30:47Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2019-02-04T13:30:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bac4817b3a18f4fefbb8a0e1bb16c60a20141ce8'/>
<id>urn:sha1:bac4817b3a18f4fefbb8a0e1bb16c60a20141ce8</id>
<content type='text'>
MFC after:		3 days
</content>
</entry>
<entry>
<title>Add support for decoding the nxt_flags, rcv_flags, and snd_flags of</title>
<updated>2018-01-15T20:37:11Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-15T20:37:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0faae8b922297815f2900c6b5672136e5da40caa'/>
<id>urn:sha1:0faae8b922297815f2900c6b5672136e5da40caa</id>
<content type='text'>
SCTP level cmsgs.
</content>
</entry>
<entry>
<title>Add support for decoding the type of a cmsg.</title>
<updated>2018-01-15T10:59:04Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-15T10:59:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a826eb5a413324c5136f5094650cb15c8331c93f'/>
<id>urn:sha1:a826eb5a413324c5136f5094650cb15c8331c93f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo.</title>
<updated>2018-01-14T14:27:42Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-14T14:27:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e6455d87088ac9723523093cbec92d12c0146de'/>
<id>urn:sha1:1e6455d87088ac9723523093cbec92d12c0146de</id>
<content type='text'>
</content>
</entry>
</feed>
