<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/shm_open.2, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-23T17:43:31+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b144e70a3325e033163aa4e6e15d0446e245702d'/>
<id>b144e70a3325e033163aa4e6e15d0446e245702d</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit fa9896e082a1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit fa9896e082a1)
</pre>
</div>
</content>
</entry>
<entry>
<title>shm: Document shm_create_largepage()</title>
<updated>2023-02-20T16:24:08+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-02-03T15:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=74631b842197d520b5889b3f24863f5037bbc5d8'/>
<id>74631b842197d520b5889b3f24863f5037bbc5d8</id>
<content type='text'>
While here, move notes about FreeBSD-specific functionality to the
COMPATIBILITY section, and document the ECAPMODE error for shm_open().

Reviewed by:	pauamma, kib
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D38282

(cherry picked from commit 5f03f96fbefbb5c68a5d7d06728ff5b4a05f87b0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here, move notes about FreeBSD-specific functionality to the
COMPATIBILITY section, and document the ECAPMODE error for shm_open().

Reviewed by:	pauamma, kib
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D38282

(cherry picked from commit 5f03f96fbefbb5c68a5d7d06728ff5b4a05f87b0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mistakes in link(2) and shm_open(2)</title>
<updated>2021-10-10T09:21:18+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-06T03:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8c384596a83fc807f1ddb07bad6dffca6ad804ac'/>
<id>8c384596a83fc807f1ddb07bad6dffca6ad804ac</id>
<content type='text'>
PR:	258957

(cherry picked from commit 8d3cd7767a2ea1816c31e1dbe7957253e723e559)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:	258957

(cherry picked from commit 8d3cd7767a2ea1816c31e1dbe7957253e723e559)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an shm_rename syscall</title>
<updated>2019-09-26T15:32:28+00:00</updated>
<author>
<name>David Bright</name>
<email>dab@FreeBSD.org</email>
</author>
<published>2019-09-26T15:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9afb12bab41f6a715f171e00e5099f93a93252be'/>
<id>9afb12bab41f6a715f171e00e5099f93a93252be</id>
<content type='text'>
Add an atomic shm rename operation, similar in spirit to a file
rename. Atomically unlink an shm from a source path and link it to a
destination path. If an existing shm is linked at the destination
path, unlink it as part of the same atomic operation. The caller needs
the same permissions as shm_unlink to the shm being renamed, and the
same permissions for the shm at the destination which is being
unlinked, if it exists. If those fail, EACCES is returned, as with the
other shm_* syscalls.

truss support is included; audit support will come later.

This commit includes only the implementation; the sysent-generated
bits will come in a follow-on commit.

Submitted by:	Matthew Bryan &lt;matthew.bryan@isilon.com&gt;
Reviewed by:	jilles (earlier revision)
Reviewed by:	brueffer (manpages, earlier revision)
Relnotes:	yes
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D21423
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an atomic shm rename operation, similar in spirit to a file
rename. Atomically unlink an shm from a source path and link it to a
destination path. If an existing shm is linked at the destination
path, unlink it as part of the same atomic operation. The caller needs
the same permissions as shm_unlink to the shm being renamed, and the
same permissions for the shm at the destination which is being
unlinked, if it exists. If those fail, EACCES is returned, as with the
other shm_* syscalls.

truss support is included; audit support will come later.

This commit includes only the implementation; the sysent-generated
bits will come in a follow-on commit.

Submitted by:	Matthew Bryan &lt;matthew.bryan@isilon.com&gt;
Reviewed by:	jilles (earlier revision)
Reviewed by:	brueffer (manpages, earlier revision)
Relnotes:	yes
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D21423
</pre>
</div>
</content>
</entry>
<entry>
<title>Add linux-compatible memfd_create</title>
<updated>2019-09-25T18:03:18+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-09-25T18:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e25d1fb6168c7d905230e2effbf7adb20935cd4'/>
<id>3e25d1fb6168c7d905230e2effbf7adb20935cd4</id>
<content type='text'>
memfd_create is effectively a SHM_ANON shm_open(2) mapping with optional
CLOEXEC and file sealing support. This is used by some mesa parts, some
linux libs, and qemu can also take advantage of it and uses the sealing to
prevent resizing the region.

This reimplements shm_open in terms of shm_open2(2) at the same time.

shm_open(2) will be moved to COMPAT12 shortly.

Reviewed by:	markj, kib
Differential Revision:	https://reviews.freebsd.org/D21393
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
memfd_create is effectively a SHM_ANON shm_open(2) mapping with optional
CLOEXEC and file sealing support. This is used by some mesa parts, some
linux libs, and qemu can also take advantage of it and uses the sealing to
prevent resizing the region.

This reimplements shm_open in terms of shm_open2(2) at the same time.

shm_open(2) will be moved to COMPAT12 shortly.

Reviewed by:	markj, kib
Differential Revision:	https://reviews.freebsd.org/D21393
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention sendfile(2) by popular demand.</title>
<updated>2017-01-20T17:29:59+00:00</updated>
<author>
<name>Warren Block</name>
<email>wblock@FreeBSD.org</email>
</author>
<published>2017-01-20T17:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7fd5cf054467f24de10c82dcb226daa88e3b2c9e'/>
<id>7fd5cf054467f24de10c82dcb226daa88e3b2c9e</id>
<content type='text'>
Submitted by:	alc, kib
MFC after:	1 week
Sponsored by:	iXsystems
Differential Revision:	https://reviews.freebsd.org/D9259
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	alc, kib
MFC after:	1 week
Sponsored by:	iXsystems
Differential Revision:	https://reviews.freebsd.org/D9259
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the shm_open.2 man page to reflect objective reality.</title>
<updated>2017-01-13T19:41:02+00:00</updated>
<author>
<name>Warren Block</name>
<email>wblock@FreeBSD.org</email>
</author>
<published>2017-01-13T19:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b44047f3dff9ac189d943d3962e79fe50548413a'/>
<id>b44047f3dff9ac189d943d3962e79fe50548413a</id>
<content type='text'>
PR:		215612
Submitted by:	rwatson
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D9066
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		215612
Submitted by:	rwatson
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D9066
</pre>
</div>
</content>
</entry>
<entry>
<title>use .Mt to mark up email addresses consistently (part4)</title>
<updated>2014-06-23T08:25:03+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-06-23T08:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8fbf3d50e331929dfa82912749a2a5ce240d475b'/>
<id>8fbf3d50e331929dfa82912749a2a5ce240d475b</id>
<content type='text'>
PR:		191174
Submitted by:	Franco Fichtner  &lt;franco at lastsummer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		191174
Submitted by:	Franco Fichtner  &lt;franco at lastsummer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shm_open(2): Fixed the history information.</title>
<updated>2013-12-18T12:18:17+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2013-12-18T12:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0f987f1f08f8a1268034490eb2b1484ada0ae605'/>
<id>0f987f1f08f8a1268034490eb2b1484ada0ae605</id>
<content type='text'>
While here, sort xrefs.

Reviewed by:	jhb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here, sort xrefs.

Reviewed by:	jhb
</pre>
</div>
</content>
</entry>
<entry>
<title>General mdoc(7) and typo fixes.</title>
<updated>2012-05-08T18:56:21+00:00</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-05-08T18:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f63b42217b570f1f3dac8394ae18c37213ceaa8'/>
<id>9f63b42217b570f1f3dac8394ae18c37213ceaa8</id>
<content type='text'>
PR:		167713
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		167713
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
</pre>
</div>
</content>
</entry>
</feed>
