<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netbsd/sys/dev/raidframe/rf_netbsdkintf.c, branch lockcount-9.3</title>
<subtitle>NetBSD fork for lockdoc analysis</subtitle>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/'/>
<entry>
<title>Pull up following revision(s) (requested by riastradh in ticket #1485):</title>
<updated>2022-08-03T10:55:44+00:00</updated>
<author>
<name>martin</name>
<email>martin@NetBSD.org</email>
</author>
<published>2022-08-03T10:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=c302d5ea31d36c462babff41e49adeb9467d8bf5'/>
<id>c302d5ea31d36c462babff41e49adeb9467d8bf5</id>
<content type='text'>
	sys/dev/pci/if_iwi.c: revision 1.117
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
	sys/dev/scsipi/ses.c: revision 1.52
	sys/dev/isa/mcd.c: revision 1.121

sys/dev: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	sys/dev/pci/if_iwi.c: revision 1.117
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
	sys/dev/scsipi/ses.c: revision 1.52
	sys/dev/isa/mcd.c: revision 1.121

sys/dev: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).</pre>
</div>
</content>
</entry>
<entry>
<title>Pull up following revision(s) (requested by riastradh in ticket #795):</title>
<updated>2020-03-21T15:52:09+00:00</updated>
<author>
<name>martin</name>
<email>martin@NetBSD.org</email>
</author>
<published>2020-03-21T15:52:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=4f2d73e6f81a404c140afe816619669c40c3dd41'/>
<id>4f2d73e6f81a404c140afe816619669c40c3dd41</id>
<content type='text'>
	sys/dev/dksubr.c: revision 1.112
	sys/arch/xen/xen/xbd_xenbus.c: revision 1.95
	sys/dev/scsipi/sd.c: revision 1.328
	sys/dev/dkvar.h: revision 1.32
	sys/dev/ld.c: revision 1.109
	sys/dev/cgd.c: revision 1.120
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.380
	sys/dev/ata/wd.c: revision 1.458

Add a flag to dk_dump for virtual disk devices.

If a disk is backed by a physical medium other than itself, such as
cgd(4), then it passes DK_DUMP_RECURSIVE to disable the recursion
detection for dk_dump.

If, however, a device represents a physical medium on its own, such
as wd(4), then it passes 0 instead.

With this, I can now dump to dk on cgd on dk on wd.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	sys/dev/dksubr.c: revision 1.112
	sys/arch/xen/xen/xbd_xenbus.c: revision 1.95
	sys/dev/scsipi/sd.c: revision 1.328
	sys/dev/dkvar.h: revision 1.32
	sys/dev/ld.c: revision 1.109
	sys/dev/cgd.c: revision 1.120
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.380
	sys/dev/ata/wd.c: revision 1.458

Add a flag to dk_dump for virtual disk devices.

If a disk is backed by a physical medium other than itself, such as
cgd(4), then it passes DK_DUMP_RECURSIVE to disable the recursion
detection for dk_dump.

If, however, a device represents a physical medium on its own, such
as wd(4), then it passes 0 instead.

With this, I can now dump to dk on cgd on dk on wd.</pre>
</div>
</content>
</entry>
<entry>
<title>Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly</title>
<updated>2019-03-01T11:06:55+00:00</updated>
<author>
<name>pgoyette</name>
<email>pgoyette@NetBSD.org</email>
</author>
<published>2019-03-01T11:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=1a480a4c6b1caa62b9ce6ed95f5fc09813f8f470'/>
<id>1a480a4c6b1caa62b9ce6ed95f5fc09813f8f470</id>
<content type='text'>
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix vnode locking, must lock for VOP_OPEN() and VOP_UNLOCK() when done.</title>
<updated>2019-02-20T10:04:28+00:00</updated>
<author>
<name>hannken</name>
<email>hannken@NetBSD.org</email>
</author>
<published>2019-02-20T10:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=39a0c0ae0bdbca937977e88ed9fa692c849ad873'/>
<id>39a0c0ae0bdbca937977e88ed9fa692c849ad873</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Change the allocation macros to be more like function calls</title>
<updated>2019-02-09T03:33:59+00:00</updated>
<author>
<name>christos</name>
<email>christos@NetBSD.org</email>
</author>
<published>2019-02-09T03:33:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=f9496794ff5670818d14b58cb9ffda8f702eaed7'/>
<id>f9496794ff5670818d14b58cb9ffda8f702eaed7</id>
<content type='text'>
- Change sizeof(type) -&gt; sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts

Thanks to oster@ for finding bugs and testing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Change sizeof(type) -&gt; sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts

Thanks to oster@ for finding bugs and testing.</pre>
</div>
</content>
</entry>
<entry>
<title>You need a star :-)</title>
<updated>2019-02-07T03:03:00+00:00</updated>
<author>
<name>christos</name>
<email>christos@NetBSD.org</email>
</author>
<published>2019-02-07T03:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=63ab325d2a4490eb3582eac533427c2383c044f3'/>
<id>63ab325d2a4490eb3582eac533427c2383c044f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Restore indirecting through the data pointer</title>
<updated>2019-02-06T23:00:16+00:00</updated>
<author>
<name>christos</name>
<email>christos@NetBSD.org</email>
</author>
<published>2019-02-06T23:00:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=ab43ec4e004e6ea0e08de8dd1fff9dc6feaaa25f'/>
<id>ab43ec4e004e6ea0e08de8dd1fff9dc6feaaa25f</id>
<content type='text'>
- Don't try to load compat code if the ioctl is not for us.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Don't try to load compat code if the ioctl is not for us.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix GET_INFO.  Yes, can probably be simplified.</title>
<updated>2019-02-06T03:37:13+00:00</updated>
<author>
<name>oster</name>
<email>oster@NetBSD.org</email>
</author>
<published>2019-02-06T03:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=39187eeee98e0f1c7275922474ac5c79da255049'/>
<id>39187eeee98e0f1c7275922474ac5c79da255049</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use 'data' directly.</title>
<updated>2019-02-06T03:01:48+00:00</updated>
<author>
<name>christos</name>
<email>christos@NetBSD.org</email>
</author>
<published>2019-02-06T03:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=d6cebb71747cb4ebe791e0ce80179ee3a7500e05'/>
<id>d6cebb71747cb4ebe791e0ce80179ee3a7500e05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix logic inversion.  Progress, but still broken.</title>
<updated>2019-02-06T02:49:50+00:00</updated>
<author>
<name>oster</name>
<email>oster@NetBSD.org</email>
</author>
<published>2019-02-06T02:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=6e94951e5b087c3ad861943e1247f4f5d2c55ad0'/>
<id>6e94951e5b087c3ad861943e1247f4f5d2c55ad0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
