<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/mcd, branch release/11.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2019-07-03T00:03:55Z</updated>
<entry>
<title>Fix privilege escalation in cd(4) driver.</title>
<updated>2019-07-03T00:03:55Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2019-07-03T00:03:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b947d90f99d7171b3643d256ace3d22da231190'/>
<id>urn:sha1:8b947d90f99d7171b3643d256ace3d22da231190</id>
<content type='text'>
Approved by:	so
Approved by:	re (implicit)
Security:	FreeBSD-SA-19:11.cd_ioctl
Security:	CVE-2019-5602
</content>
</entry>
<entry>
<title>Add deprecation notices for various device drivers removed in 12.0.</title>
<updated>2017-07-12T20:10:53Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2017-07-12T20:10:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2e095c3aef8490dac97f992fb73eff78cfaa9eec'/>
<id>urn:sha1:2e095c3aef8490dac97f992fb73eff78cfaa9eec</id>
<content type='text'>
This is a direct commit to stable/11 since these files have already
been removed in head.

Reviewed by:	sbruno, gjb
Differential Revision:	https://reviews.freebsd.org/D11542
</content>
</entry>
<entry>
<title>sys/dev: extend use of the howmany() macro when available.</title>
<updated>2016-04-26T15:03:15Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-26T15:03:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=057b4402bf634907fd03590e2757e09e975d04c7'/>
<id>urn:sha1:057b4402bf634907fd03590e2757e09e975d04c7</id>
<content type='text'>
We have a howmany() macro in the &lt;sys/param.h&gt; header that is
convenient to re-use as it makes things easier to read.
</content>
</entry>
<entry>
<title>Add locking to mcd(4) and mark MPSAFE.</title>
<updated>2014-11-18T21:51:01Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-11-18T21:51:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23c31a3c5d322944396562a893e0d949fb91ad2a'/>
<id>urn:sha1:23c31a3c5d322944396562a893e0d949fb91ad2a</id>
<content type='text'>
- Actually use existing per-softc mutex.
- Use mutex in cdev routines and remove D_NEEDGIANT.
- Use callout(9) instead of timeout(9).
- Don't check for impossible conditions (e.g. MCDINIT being clear).
- Remove critical_enter/exit when sending a PIO command.
- Use bus_*() instead of bus_space_*().

Tested by:	no one
</content>
</entry>
<entry>
<title>In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used,</title>
<updated>2013-12-29T16:28:37Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2013-12-29T16:28:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2f01b471a89361842fc1c7ccdee3f934167fd056'/>
<id>urn:sha1:2f01b471a89361842fc1c7ccdee3f934167fd056</id>
<content type='text'>
so it ends up in the object file, and no warnings are emitted about it
being actually unused.

MFC after:	3 days
</content>
</entry>
<entry>
<title>The other giant locked storage drivers have removed splbio(), for the</title>
<updated>2013-02-21T02:34:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2013-02-21T02:34:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e1a1297625a34acf94cb8818a506c53cfd529500'/>
<id>urn:sha1:e1a1297625a34acf94cb8818a506c53cfd529500</id>
<content type='text'>
most part, so remove it here too. Anybody locking this driver will need
far more than locks where splbio() were, so remove these nops.
</content>
</entry>
<entry>
<title>Remove bus_{mem,p}io.h and related code for a micro-optimization on i386</title>
<updated>2005-05-29T04:42:30Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2005-05-29T04:42:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d4fcf3cba56369bf27a1943ee07b2ddd124b8436'/>
<id>urn:sha1:d4fcf3cba56369bf27a1943ee07b2ddd124b8436</id>
<content type='text'>
and amd64.  The optimization is a trivial on recent machines.

Reviewed by:	-arch (imp, marcel, dfr)
</content>
</entry>
<entry>
<title>netchild's mega-patch to isolate compiler dependencies into a central</title>
<updated>2005-03-02T21:33:29Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2005-03-02T21:33:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a5f50ef9e43b28e15a7e2a2aec73754456619f17'/>
<id>urn:sha1:a5f50ef9e43b28e15a7e2a2aec73754456619f17</id>
<content type='text'>
place.

This moves the dependency on GCC's and other compiler's features into
the central sys/cdefs.h file, while the individual source files can
then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to
refer to #if __GNUC__ &gt; 3.1415 &amp;&amp; __BARC__ &lt;= 42.

By now, GCC and ICC (the Intel compiler) have been actively tested on
IA32 platforms by netchild.  Extension to other compilers is supposed
to be possible, of course.

Submitted by:	netchild
Reviewed by:	various developers on arch@, some time ago
</content>
</entry>
<entry>
<title>o Fix a typo.</title>
<updated>2005-01-30T16:42:23Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2005-01-30T16:42:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7449260bfd1ab413abe4d9087d0097b4417967df'/>
<id>urn:sha1:7449260bfd1ab413abe4d9087d0097b4417967df</id>
<content type='text'>
Submitted by:	Niclas Zeising
</content>
</entry>
<entry>
<title>Boot away another stackgap (one of the lest ones in linuxlator/i386) by</title>
<updated>2005-01-30T08:12:37Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2005-01-30T08:12:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=43792195376d49565d1ce5daf330b19f90bce1d3'/>
<id>urn:sha1:43792195376d49565d1ce5daf330b19f90bce1d3</id>
<content type='text'>
providing special version of CDIOCREADSUBCHANNEL ioctl(), which assumes that
result has to be placed into kernel space not user space. In the long run
more generic solution has to be designed WRT emulating various ioctl()s
that operate on userspace buffers, but right now there is only one such
ioctl() is emulated, so that it makes little sense.

MFC after:	2 weeks
</content>
</entry>
</feed>
