<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/nand, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-07-22T01:06:06Z</updated>
<entry>
<title>nand: create device with 0640 permission</title>
<updated>2019-07-22T01:06:06Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-07-22T01:06:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f07d1251b222469a5363b3d8b2f4b355a8d385d'/>
<id>urn:sha1:3f07d1251b222469a5363b3d8b2f4b355a8d385d</id>
<content type='text'>
rw-r----- is the usual/standard permissions for such devices.

Direct commit to stable/12 as this code has been removed in HEAD.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r349268: nandsim: correct test to avoid out-of-bounds access</title>
<updated>2019-07-03T17:34:26Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-07-03T17:34:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8db2270e63548d12414e05e3d0527873ea1e759'/>
<id>urn:sha1:f8db2270e63548d12414e05e3d0527873ea1e759</id>
<content type='text'>
Previously nandsim_chip_status returned EINVAL iff both of user-provided
chip-&gt;ctrl_num and chip-&gt;num were out of bounds.  If only one failed the
bounds check arbitrary memory would be read and returned.

The NAND framework is not built by default, nandsim is not intended for
production use (it is a simulator), and the nandsim device has root-only
permissions.

admbugs:	827
Reported by:	Daniel Hodson of elttam
Security:	kernel information leak or DoS
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Remove Atmel AT91RM9200 and AT91SAM9 support.</title>
<updated>2018-07-27T18:28:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-07-27T18:28:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58d5c511063ec10161c7782dd63026e8bf92ceb3'/>
<id>urn:sha1:58d5c511063ec10161c7782dd63026e8bf92ceb3</id>
<content type='text'>
The last known robust version of this code base was FreeBSD 8.2. There
are no users of this on current, and all users of it have abandoned
this platform or are in legacy mode with a prior version of FreeBSD.

All known users on arm@ approved this removal, and there were no
objections.

Differential Revision: https://reviews.freebsd.org/D16312
</content>
</entry>
<entry>
<title>Use M. Warner Losh everywhere on my copyrights.</title>
<updated>2018-05-01T16:29:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-05-01T16:29:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4eef18848a141a0ad4312bd120effc1472e0811'/>
<id>urn:sha1:e4eef18848a141a0ad4312bd120effc1472e0811</id>
<content type='text'>
Remove 'All Rights Reserved' where I can.
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>The nandsim(4) simulator driver doesn't have any protection against</title>
<updated>2017-05-04T20:42:31Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2017-05-04T20:42:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=93ed1e805b7e95120f0570112218b0be80c18652'/>
<id>urn:sha1:93ed1e805b7e95120f0570112218b0be80c18652</id>
<content type='text'>
races at least in its ioctl handler, and at the same time it creates
device entry with 0666 permissions.

To plug possible issues in it:
- Mark it as needing Giant.
- Switch device mode to 0600.

Submitted by:	C Turt
Reviewed by:	imp
MFC after:	1 week
Security:	Possible double free in ioctl handler
</content>
</entry>
<entry>
<title>- Allow different slicers for different flash types to be registered</title>
<updated>2017-02-22T10:21:39Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2017-02-22T10:21:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4874af73c18561a79cfbf4b4d62fd038a194de26'/>
<id>urn:sha1:4874af73c18561a79cfbf4b4d62fd038a194de26</id>
<content type='text'>
  with geom_flashmap(4) and teach it about MMC for slicing enhanced
  user data area partitions. The FDT slicer still is the default for
  CFI, NAND and SPI flash on FDT-enabled platforms.
- In addition to a device_t, also pass the name of the GEOM provider
  in question to the slicers as a single device may provide more than
  provider.
- Build a geom_flashmap.ko.
- Use MODULE_VERSION() so other modules can depend on geom_flashmap(4).
- Remove redundant/superfluous GEOM routines that either do nothing
  or provide/just call default GEOM (slice) functionality.
- Trim/adjust includes

Submitted by:	jhibbits (RouterBoard bits)
Reviewed by:	jhibbits
</content>
</entry>
<entry>
<title>Fix typo in r311971.</title>
<updated>2017-01-12T18:05:12Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2017-01-12T18:05:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eae0fba4534eab90c6ab4a994fc90402a2e29813'/>
<id>urn:sha1:eae0fba4534eab90c6ab4a994fc90402a2e29813</id>
<content type='text'>
Reported by:	ohartmann at walstatt.org
</content>
</entry>
<entry>
<title>Report random flash storage as non-rotating to GEOM_DISK.</title>
<updated>2017-01-12T08:53:10Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-01-12T08:53:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17160457b41ff26b4384d8f82ed176a2844eb272'/>
<id>urn:sha1:17160457b41ff26b4384d8f82ed176a2844eb272</id>
<content type='text'>
While doing it, introduce respective constants in geom_disk.h.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove NULL checks after M_WAITOK allocations from nand(4).</title>
<updated>2016-08-09T15:56:33Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2016-08-09T15:56:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=75ae87ede1fe1d333107bf1a9abad6e5bc399511'/>
<id>urn:sha1:75ae87ede1fe1d333107bf1a9abad6e5bc399511</id>
<content type='text'>
MFC after:	1 month
</content>
</entry>
</feed>
