<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_file.h, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-06-17T19:33:43Z</updated>
<entry>
<title>linux(4): Add AT_NO_AUTOMOUNT to statx.</title>
<updated>2022-06-17T19:33:43Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-03-25T14:54:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=221d908864ddd39402707570dd70e66b07fadd43'/>
<id>urn:sha1:221d908864ddd39402707570dd70e66b07fadd43</id>
<content type='text'>
Specific to Linux AT_NO_AUTOMOUNT flag tells the kernel to not automount the
terminal component of pathname if it is a directory that is an automount point.
As it is the default for FreeBSD silencly ignore this flag.

glibc-2.34 uses this flag in the stat64 system calls which is used by i386.

Reviewed by:		trasz
Differential revision:  https://reviews.freebsd.org/D31524
MFC after:		2 weeks

(cherry picked from commit ff39d74aa99a49749d1de26dc1f6b1e1bfebceb0)
</content>
</entry>
<entry>
<title>linux(4): Plug in aarch64 fcntl flags.</title>
<updated>2022-06-17T19:33:27Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-08-12T08:42:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5eb65499943800284c75ffb239f3892b82d9daba'/>
<id>urn:sha1:5eb65499943800284c75ffb239f3892b82d9daba</id>
<content type='text'>
Fixes opendir() libc function.

Differential Revision:	https://reviews.freebsd.org/D31357
MFC after:		2 weeks

(cherry picked from commit fc37be246021ee9b7110c9f506141c2bf0bc9fb0)
</content>
</entry>
<entry>
<title>linux: implement O_PATH</title>
<updated>2022-02-13T21:06:37Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-04-15T14:24:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da51ef550cf54750fd4c962d52b84d33601e6e7e'/>
<id>urn:sha1:da51ef550cf54750fd4c962d52b84d33601e6e7e</id>
<content type='text'>
Reviewed By:	kib
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D29773

(cherry picked from commit 1663120ae452fe3783c74ce40522caf0e2327608)
</content>
</entry>
<entry>
<title>linux: extend the LINUX_O_ constants to make room for O_PATH</title>
<updated>2022-02-13T21:06:37Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-04-15T13:38:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=10553107a824d427c0d6b1a003c2dae540813658'/>
<id>urn:sha1:10553107a824d427c0d6b1a003c2dae540813658</id>
<content type='text'>
No functional changes.

Sponsored By:	EPSRC

(cherry picked from commit 1b11173c00d84d4a25cc8aa3c6c69cc15696b0ec)
</content>
</entry>
<entry>
<title>linux(4): Implement name_to_handle_at(), open_by_handle_at()</title>
<updated>2020-11-17T19:51:47Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-11-17T19:51:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de774e422e7f8abf9d4c6084165c9de66f11b2de'/>
<id>urn:sha1:de774e422e7f8abf9d4c6084165c9de66f11b2de</id>
<content type='text'>
They are similar to our getfhat(2) and fhopen(2) syscalls.

Differential Revision:	https://reviews.freebsd.org/D27111
</content>
</entry>
<entry>
<title>linuxolator: implement memfd_create syscall</title>
<updated>2020-06-29T03:09:14Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-06-29T03:09:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5403f186a7634f49ebe710441ce609445dcc9592'/>
<id>urn:sha1:5403f186a7634f49ebe710441ce609445dcc9592</id>
<content type='text'>
This effectively mirrors our libc implementation, but with minor fudging --
name needs to be copied in from userspace, so we just copy it straight into
stack-allocated memfd_name into the correct position rather than allocating
memory that needs to be cleaned up.

The sealing-related fcntl(2) commands, F_GET_SEALS and F_ADD_SEALS, have
also been implemented now that we support them.

Note that this implementation is still not quite at feature parity w.r.t.
the actual Linux version; some caveats, from my foggy memory:

- Need to implement SHM_GROW_ON_WRITE, default for memfd (in progress)
- LTP wants the memfd name exposed to fdescfs
- Linux allows open() of an fdescfs fd with O_TRUNC to truncate after dup.
  (?)

Interested parties can install and run LTP from ports (devel/linux-ltp) to
confirm any fixes.

PR:		240874
Reviewed by:	kib, trasz
Differential Revision:	https://reviews.freebsd.org/D21845
</content>
</entry>
<entry>
<title>Replace LINUX_FASYNC with LINUX_O_ASYNC; no functional changes.</title>
<updated>2020-06-11T14:09:43Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-06-11T14:09:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc8e281082922bae3a824a0e26275948dfaa1e17'/>
<id>urn:sha1:bc8e281082922bae3a824a0e26275948dfaa1e17</id>
<content type='text'>
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25218
</content>
</entry>
<entry>
<title>Properly translate MNT_FORCE flag to Linux umount2(2).  Previously</title>
<updated>2020-01-20T12:16:32Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-01-20T12:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66632fe7bbe732c6fd09e391dcc16b599e1b7f67'/>
<id>urn:sha1:66632fe7bbe732c6fd09e391dcc16b599e1b7f67</id>
<content type='text'>
it worked by accident.

MFC after:	2 weeks
Sponsored by:	DARPA
</content>
</entry>
<entry>
<title>Add sync_file_range(2) implementation to linux(4); it's a thin wrapper</title>
<updated>2019-12-14T13:37:17Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2019-12-14T13:37:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf69fe66d43c6e91d6a91b1567ff445bb1c0f095'/>
<id>urn:sha1:cf69fe66d43c6e91d6a91b1567ff445bb1c0f095</id>
<content type='text'>
over the usual fsync(2).

This silences some warnings when running "apt-get upgrade".

Reviewed by:	brooks, emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22371
</content>
</entry>
<entry>
<title>linux_renameat2: improve flag checks</title>
<updated>2019-11-07T15:51:44Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-11-07T15:51:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01b9ee4c509e2882147af35eea4772d06ecd4150'/>
<id>urn:sha1:01b9ee4c509e2882147af35eea4772d06ecd4150</id>
<content type='text'>
In the cases where Linux returns an error (e.g. passing in an undefined
flag) there's no need for us to emit a message.  (The target of this
message is a developer working on the linuxulatorm, not the author of
presumably broken Linux software).

Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D21606
</content>
</entry>
</feed>
