Revision tags: release/14.0.0 |
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0 |
|
#
8337ab69 |
| 30-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
stand: For all disk drivers, connect dv_parsedev to disk_parsedev
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37339
|
Revision tags: release/12.4.0 |
|
#
bb3230e4 |
| 22-Oct-2022 |
Warner Losh <imp@FreeBSD.org> |
geli: Move check for DEVT_DISK into geli_probe_and_attach
We only work on DEVT_DISK disks, so move that into the probe to drive the point home better.
Sponsored by: Netflix
|
#
787df454 |
| 22-Oct-2022 |
Warner Losh <imp@FreeBSD.org> |
stabd/geli: Bail out if you can't get the disks size
If the DIOCGMEDIASIZE ioctl fails, assume the disk doesn't have geli encryption. While all disks should implement this, fail safe for disks / par
stabd/geli: Bail out if you can't get the disks size
If the DIOCGMEDIASIZE ioctl fails, assume the disk doesn't have geli encryption. While all disks should implement this, fail safe for disks / partitions that do not.
Sponsored by: Netflix
show more ...
|
#
ad759c73 |
| 11-Aug-2022 |
Warner Losh <imp@FreeBSD.org> |
stand: Add disk_fmtdev for dv_fmtdev for all the disk devices
All of the archsw fmtdev functions treat DEVT_DISK as a call to disk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformat will r
stand: Add disk_fmtdev for dv_fmtdev for all the disk devices
All of the archsw fmtdev functions treat DEVT_DISK as a call to disk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformat will return the same thing.
Sponsored by: Netflix Reviewed by: tsoome (prior version) Differential Revision: https://reviews.freebsd.org/D35917
show more ...
|
#
c32dde31 |
| 11-Aug-2022 |
Warner Losh <imp@FreeBSD.org> |
stand: Change disk_fmtdev to take a struct devdesc *
We do a number of games with ploymorphism for different types struct *devdesc. Adjust one place that this affects to take the address of the base
stand: Change disk_fmtdev to take a struct devdesc *
We do a number of games with ploymorphism for different types struct *devdesc. Adjust one place that this affects to take the address of the base class (most others have void * at the moment). This is more type safe than a bare void *.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35914
show more ...
|
#
e4172490 |
| 20-Jun-2022 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: GELI encrypted disk should still use device name disk
geli_probe_and_attach() does pick geli_devsw structure for encrypted disks, the implementation depends on device name "disk" when device
loader: GELI encrypted disk should still use device name disk
geli_probe_and_attach() does pick geli_devsw structure for encrypted disks, the implementation depends on device name "disk" when device type is DEVT_DISK, but geli_devsw is setting name field "gelidisk".
PR: 264282 Submitted by: yamagi@yamagi.org Reported by: yamagi@yamagi.org MFC after: 2 weeks
show more ...
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
de776da3 |
| 11-Jul-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: implement GELI writes
Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247482
This patch is based on initial work from allanjude.
PR: 247482 Obtained from: https://reviews.freebsd.o
loader: implement GELI writes
Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247482
This patch is based on initial work from allanjude.
PR: 247482 Obtained from: https://reviews.freebsd.org/D10236 Differential Revision: https://reviews.freebsd.org/D25605
show more ...
|
#
0d1a6206 |
| 07-Jul-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: geli_dev_ioctl does return huge mediasize
The DIOCGMEDIASIZE is calculated md->md_sectorsize * md->md_provsize, and for boot disk, the md_sectorsize is 4k. However, the md_provsize is alread
loader: geli_dev_ioctl does return huge mediasize
The DIOCGMEDIASIZE is calculated md->md_sectorsize * md->md_provsize, and for boot disk, the md_sectorsize is 4k. However, the md_provsize is already in units of bytes.
Sponsored by: Netflix, Klara Inc.
show more ...
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
c1418270 |
| 13-Jul-2018 |
Ian Lepore <ian@FreeBSD.org> |
Extend loader(8) geli support to all architectures and all disk-like devices.
This moves the bulk of the geli support from lib386/biosdisk.c into a new geli/gelidev.c which implements a devsw-type d
Extend loader(8) geli support to all architectures and all disk-like devices.
This moves the bulk of the geli support from lib386/biosdisk.c into a new geli/gelidev.c which implements a devsw-type device whose dv_strategy() function handles geli decryption. Support for all arches comes from moving the taste-and-attach code to the devopen() function in libsa.
After opening any DEVT_DISK device, devopen() calls the new function geli_probe_and_attach(), which will "attach" the geli code to the open_file struct by creating a geli_devdesc instance to replace the disk_devdesc instance in the open_file. That routes all IO for the device through the geli code.
A new public geli_add_key() function is added, to allow arch/vendor-specific code to add keys obtained from custom hardware or other sources.
With these changes, geli support will be compiled into all variations of loader(8) on all arches because the default is WITH_LOADER_GELI.
Relnotes: yes Sponsored by: Microchip Technology Inc Differential Revision: https://reviews.freebsd.org/D15743
show more ...
|