Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152780933
D5870.id14958.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D5870.id14958.diff
View Options
Index: sys/boot/geli/geliboot.c
===================================================================
--- sys/boot/geli/geliboot.c
+++ sys/boot/geli/geliboot.c
@@ -90,12 +90,12 @@
return (error);
}
- if ((md.md_flags & G_ELI_FLAG_ONETIME)) {
- /* Swap device, skip it. */
+ if (!(md.md_flags & G_ELI_FLAG_GELIBOOT)) {
+ /* The GELIBOOT feature is not activated */
return (1);
}
- if (!(md.md_flags & G_ELI_FLAG_BOOT)) {
- /* Disk is not GELI boot device, skip it. */
+ if ((md.md_flags & G_ELI_FLAG_ONETIME)) {
+ /* Swap device, skip it. */
return (1);
}
if (md.md_iterations < 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 1:48 AM (10 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31651464
Default Alt Text
D5870.id14958.diff (604 B)
Attached To
Mode
D5870: GELIBoot should only prompt for the GELI passphrase if the provider has the G_ELI_FLAG_GELIBOOT set
Attached
Detach File
Event Timeline
Log In to Comment