<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/null, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2014-11-11T04:48:09Z</updated>
<entry>
<title>Add missing privilege check when setting the dump device. Before that change it</title>
<updated>2014-11-11T04:48:09Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2014-11-11T04:48:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5ebb15b942bfe98b9b972117ecb04e97de8cb947'/>
<id>urn:sha1:5ebb15b942bfe98b9b972117ecb04e97de8cb947</id>
<content type='text'>
was possible for a regular user to setup the dump device if he had write access
to the given device. In theory it is a security issue as user might get access
to kernel's memory after provoking kernel crash, but in practise it is not
recommended to give regular users direct access to storage devices.

Rework the code so that we do privileges check within the set_dumper() function
to avoid similar problems in the future.

Discussed with:	secteam
</content>
</entry>
<entry>
<title>null.c: uio is unused</title>
<updated>2014-04-30T06:40:30Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-04-30T06:40:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9ca1db6598eceb5d72c06bc569d6fed45ca28abe'/>
<id>urn:sha1:9ca1db6598eceb5d72c06bc569d6fed45ca28abe</id>
<content type='text'>
Mark another parameter as unused

Reported by:	rpaulo
</content>
</entry>
<entry>
<title>null.c: fix ordering</title>
<updated>2014-04-30T06:30:37Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-04-30T06:30:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7a07ae0a8ed30a42fd216efd898913b9d9d4b911'/>
<id>urn:sha1:7a07ae0a8ed30a42fd216efd898913b9d9d4b911</id>
<content type='text'>
Use a consistent ordering of full -&gt; null -&gt; zero (alphabetical) in null.c

Reported by:	mjg
</content>
</entry>
<entry>
<title>Add a /dev/full device.</title>
<updated>2014-04-30T06:20:48Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-04-30T06:20:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a345aa595359db9cd3443476c58a27de1adfbab0'/>
<id>urn:sha1:a345aa595359db9cd3443476c58a27de1adfbab0</id>
<content type='text'>
/dev/full is similar to /dev/zero except it always returns
ENOSPC when you attempt to write to it.

Reviewed by:	jhibbits
Discussed with:	rpaulo
</content>
</entry>
<entry>
<title>Provide a device name in the sysctl tree for programs to query the</title>
<updated>2012-11-01T17:01:05Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2012-11-01T17:01:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bad7e7f3dd67f666fcef8032b2a6e46d38e06012'/>
<id>urn:sha1:bad7e7f3dd67f666fcef8032b2a6e46d38e06012</id>
<content type='text'>
state of crashdump target devices.

This will be used to add a "-l" (ell) flag to dumpon(8) to list the
currently configured dumpdev.

Reviewed by:	phk
</content>
</entry>
<entry>
<title>Fix for PR 138526.</title>
<updated>2012-01-11T15:00:16Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2012-01-11T15:00:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=844d43d94b0e0380a8b6c29982c0783a590f734b'/>
<id>urn:sha1:844d43d94b0e0380a8b6c29982c0783a590f734b</id>
<content type='text'>
Add the ability for /dev/null and /dev/zero to accept
being set into non blocking mode via fcntl().  This
brings the code into compliance with IEEE Std 1003.1-2001
as referenced in another PR, 94729.

Reviewed by:	jhb
MFC after:	1 week
</content>
</entry>
<entry>
<title>Move the ZERO_REGION_SIZE to a machine-dependent file, as on many</title>
<updated>2011-05-13T19:35:01Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2011-05-13T19:35:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cfb00e5aa764c1f87067cd819c7ab378f3d11a77'/>
<id>urn:sha1:cfb00e5aa764c1f87067cd819c7ab378f3d11a77</id>
<content type='text'>
architectures (i386, for example) the virtual memory space may be
constrained enough that 2MB is a large chunk.  Use 64K for arches
other than amd64 and ia64, with special handling for sparc64 due to
differing hardware.

Also commit the comment changes to kmem_init_zero_region() that I
missed due to not saving the file.  (Darn the unfamiliar development
environment).

Arch maintainers, please feel free to adjust ZERO_REGION_SIZE as you
see fit.

Requested by:	alc
MFC after:	1 week
MFC with:	r221853
</content>
</entry>
<entry>
<title>Usa a globally visible region of zeros for both /dev/zero and the md</title>
<updated>2011-05-13T18:48:00Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2011-05-13T18:48:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=89cb2a19ec7be4fe31ba6463ecda4c16ea748afe'/>
<id>urn:sha1:89cb2a19ec7be4fe31ba6463ecda4c16ea748afe</id>
<content type='text'>
device.  There are likely other kernel uses of "blob of zeros" than can
be converted.

Reviewed by:	alc
MFC after:	1 week
</content>
</entry>
<entry>
<title>Mark /dev/zero and /dev/null as eternal.</title>
<updated>2010-08-06T09:47:48Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-08-06T09:47:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f53444bc4d7b98bd23d5a8d875419beef401c65e'/>
<id>urn:sha1:f53444bc4d7b98bd23d5a8d875419beef401c65e</id>
<content type='text'>
In collaboration with:	pho
MFC after:	1 month
</content>
</entry>
<entry>
<title>Remove unneeded minor numbers from /dev/null and /dev/zero.</title>
<updated>2009-09-06T09:59:02Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-09-06T09:59:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=61c177bf1115dc1fb7e0c7b4c677f30589b398ec'/>
<id>urn:sha1:61c177bf1115dc1fb7e0c7b4c677f30589b398ec</id>
<content type='text'>
</content>
</entry>
</feed>
