<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r339509: Fix loader.conf(5) "password" feature</title>
<updated>2018-10-24T23:21:12+00:00</updated>
<author>
<name>Devin Teske</name>
<email>dteske@FreeBSD.org</email>
</author>
<published>2018-10-24T23:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5971f16009ae09a92ea1454d4204abf3445cc5c8'/>
<id>5971f16009ae09a92ea1454d4204abf3445cc5c8</id>
<content type='text'>
Restore the ability to prevent the user from interrupting the boot process
without first entering the password stored in loader.conf(5).

PR:		kern/207069
Reported by:	david@dcrosstech.com
Sponsored by:	Smule, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restore the ability to prevent the user from interrupting the boot process
without first entering the password stored in loader.conf(5).

PR:		kern/207069
Reported by:	david@dcrosstech.com
Sponsored by:	Smule, Inc.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r335607: check-password.4th(8): Fix manual [in]accuracy</title>
<updated>2018-06-27T21:22:00+00:00</updated>
<author>
<name>Devin Teske</name>
<email>dteske@FreeBSD.org</email>
</author>
<published>2018-06-27T21:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eca3bc5b7ccbf94c9df2545c5ee56409ba32a86a'/>
<id>eca3bc5b7ccbf94c9df2545c5ee56409ba32a86a</id>
<content type='text'>
SVN r280384 updated the maximum password length from 16 bytes to 255. The
manual was not updated to reflect this.

Sponsored by:	Smule, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN r280384 updated the maximum password length from 16 bytes to 255. The
manual was not updated to reflect this.

Sponsored by:	Smule, Inc.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r331630: Fix instructions in the zfsboot manual page.</title>
<updated>2018-04-03T14:09:34+00:00</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2018-04-03T14:09:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e7c4d5420693240b6d4929d5bb1ae3385b0aed09'/>
<id>e7c4d5420693240b6d4929d5bb1ae3385b0aed09</id>
<content type='text'>
zfsloader(8) fails to probe a slice containing ZFS pool if its second sector
contains traces of BSD label (DISKMAGIC == 0x82564557).
Fix manual page to show working example erasing such traces.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
zfsloader(8) fails to probe a slice containing ZFS pool if its second sector
contains traces of BSD label (DISKMAGIC == 0x82564557).
Fix manual page to show working example erasing such traces.

</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r322628: Fix BSD label partition end sector calculation.</title>
<updated>2017-08-31T13:32:01+00:00</updated>
<author>
<name>Oleg Bulyzhin</name>
<email>oleg@FreeBSD.org</email>
</author>
<published>2017-08-31T13:32:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4ab2f0203139c98191588c2ad27b37bf6314d136'/>
<id>4ab2f0203139c98191588c2ad27b37bf6314d136</id>
<content type='text'>
Approved by:	re (marius)
Differential Revision:	https://reviews.freebsd.org/D12066
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (marius)
Differential Revision:	https://reviews.freebsd.org/D12066
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r321305:</title>
<updated>2017-07-28T18:35:29+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2017-07-28T18:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f1fc7e00465359ec4f3238ba67527276aa0a311'/>
<id>2f1fc7e00465359ec4f3238ba67527276aa0a311</id>
<content type='text'>
Fix printf format warning in zfs_module.c

Clang 5.0.0 got better warnings about print format strings using %zd,
and this leads to the following -Werror warning on e.g. arm:

    sys/boot/efi/boot1/zfs_module.c:186:18: error: format specifies type 'ssize_t' (aka 'int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
                        "(%lu)\n", st.st_size, spa-&gt;spa_name, filepath, EFI_ERROR_CODE(status));
                                   ^~~~~~~~~~

Fix this by casting off_t arguments to intmax_t, and using %jd instead.

Reviewed by:	tsoome
Differential Revision:	https://reviews.freebsd.org/D11678
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix printf format warning in zfs_module.c

Clang 5.0.0 got better warnings about print format strings using %zd,
and this leads to the following -Werror warning on e.g. arm:

    sys/boot/efi/boot1/zfs_module.c:186:18: error: format specifies type 'ssize_t' (aka 'int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
                        "(%lu)\n", st.st_size, spa-&gt;spa_name, filepath, EFI_ERROR_CODE(status));
                                   ^~~~~~~~~~

Fix this by casting off_t arguments to intmax_t, and using %jd instead.

Reviewed by:	tsoome
Differential Revision:	https://reviews.freebsd.org/D11678
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r316102:</title>
<updated>2017-07-20T00:48:04+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-07-20T00:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ea3e540ac75ef4adc55b7af2f2ae3db5787c6e0c'/>
<id>ea3e540ac75ef4adc55b7af2f2ae3db5787c6e0c</id>
<content type='text'>
Wrap bootcamp DEBUG statement with curly braces

This fixes a -Wempty-body warning with gcc 6.3.0 when PART_DEBUG is undefined.

Tested with:	amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrap bootcamp DEBUG statement with curly braces

This fixes a -Wempty-body warning with gcc 6.3.0 when PART_DEBUG is undefined.

Tested with:	amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r309412,r316109,r316132:</title>
<updated>2017-05-28T01:14:59+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-28T01:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=492793e18ce7f67bfb5597720506722a137944ea'/>
<id>492793e18ce7f67bfb5597720506722a137944ea</id>
<content type='text'>
r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...

This is being done to make it easier to change in the future--this action might be
needed sooner rather than later because of gcc 6.3.0 bailing, stating that there
is negative free space left (deficit) in the boot2 bootloader.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...

This is being done to make it easier to change in the future--this action might be
needed sooner rather than later because of gcc 6.3.0 bailing, stating that there
is negative free space left (deficit) in the boot2 bootloader.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r316103:</title>
<updated>2017-05-22T06:29:20+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-22T06:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6037c91381644d9e373e246c65e7af704bc8bf91'/>
<id>6037c91381644d9e373e246c65e7af704bc8bf91</id>
<content type='text'>
Remove redundant declarations

They're already defined in libstand.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove redundant declarations

They're already defined in libstand.h
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r316106:</title>
<updated>2017-03-31T04:51:08+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-31T04:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4ff156f6614b35aef11fd1833676a743df3ceea6'/>
<id>4ff156f6614b35aef11fd1833676a743df3ceea6</id>
<content type='text'>
Don't shadow read(2) definition with `read` argument in vdev_{create,probe}

This fixes several -Wshadow warnings introduced in r192194, but now errors
with gcc 6.3.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't shadow read(2) definition with `read` argument in vdev_{create,probe}

This fixes several -Wshadow warnings introduced in r192194, but now errors
with gcc 6.3.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r316107:</title>
<updated>2017-03-31T04:44:37+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-31T04:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f0416f806112b52eb2164d7bc035e99934c4368'/>
<id>4f0416f806112b52eb2164d7bc035e99934c4368</id>
<content type='text'>
Remove redundant declaration for `zfs_crc64_table`

zfssubr.c already defines this statically. Besides, zfsimpl.c defined it, but
didn't use it.

This fixes a -Wredundant-decls warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove redundant declaration for `zfs_crc64_table`

zfssubr.c already defines this statically. Besides, zfsimpl.c defined it, but
didn't use it.

This fixes a -Wredundant-decls warning.
</pre>
</div>
</content>
</entry>
</feed>
