<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_ioctl.c, branch releng/15.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>linux: support IUTF8</title>
<updated>2024-10-21T08:22:50+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2024-10-09T14:45:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=31eec6fe1aea614e89060af0554abe1a98d8d8ed'/>
<id>31eec6fe1aea614e89060af0554abe1a98d8d8ed</id>
<content type='text'>
Make Linuxulator support the recently added IUTF8 termios(4) flag.

Reviewed By:	dchagin, emaste, imp
Differential Revision:	https://reviews.freebsd.org/D44525
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make Linuxulator support the recently added IUTF8 termios(4) flag.

Reviewed By:	dchagin, emaste, imp
Differential Revision:	https://reviews.freebsd.org/D44525
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: Translate Linux NVME ioctls to the lower layers.</title>
<updated>2024-06-14T22:40:20+00:00</updated>
<author>
<name>Chuck Tuffli</name>
<email>chuck@FreeBSD.org</email>
</author>
<published>2024-06-14T22:40:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ad9cc86bf60cee2b35e804b348840a096f66561d'/>
<id>ad9cc86bf60cee2b35e804b348840a096f66561d</id>
<content type='text'>
The lower layers implement a ABI compatible Linux ioctl for a few of the
Linux IOCTLs. Translate them and pass them down. Since they are ABI
compatible, just use the nvme ioctl name.

Co-Authored-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed by:	chuck
Differential Revision:	https://reviews.freebsd.org/D45416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lower layers implement a ABI compatible Linux ioctl for a few of the
Linux IOCTLs. Translate them and pass them down. Since they are ABI
compatible, just use the nvme ioctl name.

Co-Authored-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed by:	chuck
Differential Revision:	https://reviews.freebsd.org/D45416
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: Check for copyout errors in ioctl handlers</title>
<updated>2023-12-27T15:13:15+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-12-27T15:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b9924c202fc34004d4164cdc50f88d8fcef26279'/>
<id>b9924c202fc34004d4164cdc50f88d8fcef26279</id>
<content type='text'>
In preparation for annotating copyin() and friends with
__result_use_check.

Reviewed by:	dchagin
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43199
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for annotating copyin() and friends with
__result_use_check.

Reviewed by:	dchagin
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43199
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743</title>
<updated>2023-08-18T10:12:02+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-08-18T10:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3460fab5fced39c7ea597cc7de0ebc3e4c88989a'/>
<id>3460fab5fced39c7ea597cc7de0ebc3e4c88989a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl</title>
<updated>2023-08-17T19:57:16+00:00</updated>
<author>
<name>Alvin Chen</name>
<email>weike.chen_dell.com</email>
</author>
<published>2023-08-17T19:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5ad5cf507910a87188e53f94cb046d6faa0de2bb'/>
<id>5ad5cf507910a87188e53f94cb046d6faa0de2bb</id>
<content type='text'>
Differential revision:	https://reviews.freebsd.org/D39786
MFC after:		1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential revision:	https://reviews.freebsd.org/D39786
MFC after:		1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Add 2 Linux socket ioctl commands</title>
<updated>2023-08-17T19:57:16+00:00</updated>
<author>
<name>Alvin Chen</name>
<email>weike.chen_dell.com</email>
</author>
<published>2023-08-17T19:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f2b31f76e7d1ba591a4e7f4305c4acc2b1b4fa5'/>
<id>1f2b31f76e7d1ba591a4e7f4305c4acc2b1b4fa5</id>
<content type='text'>
Support 2 Linux socket ioctl commands: SIOCGIFMETRIC, SIOCSIFMETRIC.

Differential revision:	https://reviews.freebsd.org/D39786
MFC after:		1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support 2 Linux socket ioctl commands: SIOCGIFMETRIC, SIOCSIFMETRIC.

Differential revision:	https://reviews.freebsd.org/D39786
MFC after:		1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Check fd passed to unlockpt()</title>
<updated>2023-05-18T07:55:39+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-05-18T07:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0f62290e7f749b7a453d413dd72c406129a9aba5'/>
<id>0f62290e7f749b7a453d413dd72c406129a9aba5</id>
<content type='text'>
In our implementation, grantpt() and unlockpt() don't actually have
any use, because PTY's are created on the fly and already have proper
permissions upon creation.
Atleast check that a proper fd passed to unlockpt(). For grantpt()
Glibc calls TIOCGPTN ioctl which would fail if fd is not a master.

Differential Revision:	https://reviews.freebsd.org/D40100
MFC after:		1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In our implementation, grantpt() and unlockpt() don't actually have
any use, because PTY's are created on the fly and already have proper
permissions upon creation.
Atleast check that a proper fd passed to unlockpt(). For grantpt()
Glibc calls TIOCGPTN ioctl which would fail if fd is not a master.

Differential Revision:	https://reviews.freebsd.org/D40100
MFC after:		1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-05-12T16:44:03+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d846d260e2b9a3d4d0a701462568268cbfe7a5b'/>
<id>4d846d260e2b9a3d4d0a701462568268cbfe7a5b</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>linux(4): Drop excess assert that Linux IFNAMSIZ is equal to FreeBSD</title>
<updated>2023-03-04T09:11:39+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-03-04T09:11:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9883961ed5af5f0ade31579e95ac53e8c514faed'/>
<id>9883961ed5af5f0ade31579e95ac53e8c514faed</id>
<content type='text'>
While here use _Static_assert() instead of the older CTASSERT().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here use _Static_assert() instead of the older CTASSERT().
</pre>
</div>
</content>
</entry>
</feed>
