<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_stats.c, 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>2023-02-06T19:06:29Z</updated>
<entry>
<title>linux(4): Convert mount exported flags for statfs system calls.</title>
<updated>2023-02-06T19:06:29Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-01-28T10:20:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef4f2cca6085e79f4610897dbc62c489f1976a9c'/>
<id>urn:sha1:ef4f2cca6085e79f4610897dbc62c489f1976a9c</id>
<content type='text'>
MFC after:		1 week

(cherry picked from commit 9922bccbc9c4effb02b99391088d0405f9c0f75e)
</content>
</entry>
<entry>
<title>linux(4): Rework statfs conversion routine.</title>
<updated>2023-02-06T19:06:29Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-01-28T10:19:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e60d3d3c4b3e9690c0f1a77fa163e3d07c9b245'/>
<id>urn:sha1:3e60d3d3c4b3e9690c0f1a77fa163e3d07c9b245</id>
<content type='text'>
Rework the routines to convert a native statfs structure (with fixed-size 64-bit
counters) to a Linux statfs structure (with long-sized counters) for 32-bit apps.

Instead of following Linux and return an EOVERFLOW error from statfs() family of
syscalls when actual fs stat value(s) are large enough to not fit into 32 bits,
apply scale logics used by FreeBSD to convert a 5.x statfs structure to a 4.x
statfs structure.

For more details see cc479dda.

Tested by:		glebius
MFC after:		1 week

(cherry picked from commit 953688e823a67c3e9c0096252c33b1e7ecf9a095)
</content>
</entry>
<entry>
<title>linux(4): Cleanup empty lines.</title>
<updated>2022-06-17T19:33:48Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-03-31T18:23:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac33f043f65437acbb5f868fafc412787b8df60a'/>
<id>urn:sha1:ac33f043f65437acbb5f868fafc412787b8df60a</id>
<content type='text'>
MFC after:		2 weeks

(cherry picked from commit 09d60bfae58f10a24c8fc7c06bd3d90b86d40e07)
</content>
</entry>
<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: remove the always curthread argument from lconvpath</title>
<updated>2022-06-17T19:33:39Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2021-11-25T21:42:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=753605353d79d1dde655779273013b6400daaaf7'/>
<id>urn:sha1:753605353d79d1dde655779273013b6400daaaf7</id>
<content type='text'>
(cherry picked from commit af4051d25055fee086c0f78421e68fec20640f17)
</content>
</entry>
<entry>
<title>linux: improve reporting for unsupported syscall flags</title>
<updated>2022-06-17T19:30:18Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-06-15T09:18:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b27865547aeac03deacf3015f6033cd091b282c5'/>
<id>urn:sha1:b27865547aeac03deacf3015f6033cd091b282c5</id>
<content type='text'>
Filter out the flags we do support; previously we would print
out the flag value verbatim.

Reviewed By:	dchagin
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D30693

(cherry picked from commit 9d167945e8409c739442a02e3fbacb3bcdcc3306)
</content>
</entry>
<entry>
<title>linux: implement statx(2)</title>
<updated>2022-02-14T00:07:33Z</updated>
<author>
<name>Philippe Michaud-Boudreault</name>
<email>pitwuu@gmail.com</email>
</author>
<published>2021-06-08T08:24:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b630d64c3da1f669859ae61300191be09a744577'/>
<id>urn:sha1:b630d64c3da1f669859ae61300191be09a744577</id>
<content type='text'>
PR:		252106
Reviewed By:	dchagin
Differential Revision:	https://reviews.freebsd.org/D30466

(cherry picked from commit 2362ad457a01d56d87e74823599578ab37bdbfb9)
</content>
</entry>
<entry>
<title>linux: make fstatat(2) handle AT_EMPTY_PATH</title>
<updated>2022-02-13T21:06:37Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2021-04-16T07:52:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8e4ef1c3a3d93811b65be448fb4650786a66a430'/>
<id>urn:sha1:8e4ef1c3a3d93811b65be448fb4650786a66a430</id>
<content type='text'>
Without it, Qt5 apps from Focal fail to start, being unable to load
their plugins.  It's also necessary for glibc 2.33, as found in recent
Arch snapshots.

PR:		254112
Reviewed By:	kib
Sponsored by:	The FreeBSD Foundation, EPSRC
Differential Revision:	https://reviews.freebsd.org/D28192

(cherry picked from commit 4b45c2bb83a1d7aded0c424d65595cc576760dc7)
</content>
</entry>
<entry>
<title>Fix potential race condition in linux stat(2).</title>
<updated>2020-10-20T17:19:10Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-10-20T17:19:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a34e9fad6b6d894eb81002bd966684be1d1fe86'/>
<id>urn:sha1:1a34e9fad6b6d894eb81002bd966684be1d1fe86</id>
<content type='text'>
Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25618
</content>
</entry>
<entry>
<title>compat: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:24:33Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:24:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a180032407ba2dabd02e39c508fe232a9ef66ba'/>
<id>urn:sha1:1a180032407ba2dabd02e39c508fe232a9ef66ba</id>
<content type='text'>
</content>
</entry>
</feed>
