<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/compat/linux/linux_ioctl.c, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-03-13T08:57:22Z</updated>
<entry>
<title>MFC r358838:</title>
<updated>2020-03-13T08:57:22Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-03-13T08:57:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b94a1da4ad808e1a0f4714a34b8be486ef8e28ba'/>
<id>urn:sha1:b94a1da4ad808e1a0f4714a34b8be486ef8e28ba</id>
<content type='text'>
Add support for the device statistics IOCTL, needed by the coming
linux_libusb upgrade.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r332042: Fix kernel memory disclosure in linux_ioctl_socket</title>
<updated>2018-04-05T12:54:10Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-04-05T12:54:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a811871ec0718f6f554d590bd79630b30d463a73'/>
<id>urn:sha1:a811871ec0718f6f554d590bd79630b30d463a73</id>
<content type='text'>
strlcpy is used to copy a string into a buffer to be copied to userland,
previously leaving uninitialized data after the terminating NUL.  Zero
the buffer first to avoid a kernel memory disclosure.

admbugs:	765, 811
Reported by:	Ilja Van Sprundel &lt;ivansprundel@ioactive.com&gt;
Reported by:	Vlad Tsyrklevich
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r332034: linux_ioctl_hdio: fix kernel memory disclosure</title>
<updated>2018-04-05T12:50:47Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-04-05T12:50:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b3b1b1e2558e22a13939c84ba7ed44db64fd38e'/>
<id>urn:sha1:8b3b1b1e2558e22a13939c84ba7ed44db64fd38e</id>
<content type='text'>
Stack-allocated struct linux_hd_big_geometry has undeclared padding
copied to userland.

admbugs:	765
Reported by:	Vlad Tsyrklevich
Security:	Kernel memory disclosure
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r298071 (by pfg@):</title>
<updated>2017-07-15T18:08:20Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2017-07-15T18:08:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0220f2f7ef3f4e1763c8b0b734bac919a89c2acc'/>
<id>urn:sha1:0220f2f7ef3f4e1763c8b0b734bac919a89c2acc</id>
<content type='text'>
compat/linux: for pointers replace 0 with NULL.

plvc is a pointer, no functional change.

Found with devel/coccinelle.
</content>
</entry>
<entry>
<title>MFC r305896:</title>
<updated>2016-09-24T10:34:35Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-09-24T10:34:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=561b976020144d607d3ef6489646be56d061a1d5'/>
<id>urn:sha1:561b976020144d607d3ef6489646be56d061a1d5</id>
<content type='text'>
Implement BLKSSZGET ioctl for the Linuxulator.

PR:		212700
</content>
</entry>
<entry>
<title>MFC r300569:</title>
<updated>2016-06-05T07:40:12Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-06-05T07:40:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7ed5f5246d6a15768aed2b93e25c438a9b2d24f5'/>
<id>urn:sha1:7ed5f5246d6a15768aed2b93e25c438a9b2d24f5</id>
<content type='text'>
Don't leak fp in case where fo_ioctl() returns an error.

Reported by:	C Turt &lt;ecturt@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge r301053:</title>
<updated>2016-05-31T16:57:42Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-05-31T16:57:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bb678412ec7f95a4f38069951f8d204bcf22a326'/>
<id>urn:sha1:bb678412ec7f95a4f38069951f8d204bcf22a326</id>
<content type='text'>
  Fix kernel stack disclosures in the Linux and 4.3BSD compat layers.

Security:	SA-16:20
Security:	SA-16:21
</content>
</entry>
<entry>
<title>MFC r283496:</title>
<updated>2016-01-09T18:03:09Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T18:03:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fceec573f0d5f990b97a18cfe408fbf9f3396239'/>
<id>urn:sha1:fceec573f0d5f990b97a18cfe408fbf9f3396239</id>
<content type='text'>
The latest cp tool is trying to use the btrfs clone operation that is
implemented via ioctl interface. First of all return ENOTSUP for this
operation as a cp fallback to usual method in that case. Secondly, do
not print out the message about unimplemented operation.
</content>
</entry>
<entry>
<title>MFC r283483:</title>
<updated>2016-01-09T17:44:08Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T17:44:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f4cdf81a83cc6a810d17d74298fd888934927bb8'/>
<id>urn:sha1:f4cdf81a83cc6a810d17d74298fd888934927bb8</id>
<content type='text'>
Convert signal number to native for VT_SETMODE ioctl and remove
strange and invalid ISSIGVALID macro.
The code has not been tested right way but it was originally broken.
</content>
</entry>
<entry>
<title>MFC r283423:</title>
<updated>2016-01-09T16:12:37Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T16:12:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d725ceadde1256cbd35b4c4eb2397134ba00178b'/>
<id>urn:sha1:d725ceadde1256cbd35b4c4eb2397134ba00178b</id>
<content type='text'>
Move FEATURE macros for v4l and v4l2 to the common module.
</content>
</entry>
</feed>
