Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 653399 Details for
Bug 873629
Malformed variable content during system installation
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Zero out 31st bit of attributes when reading from sysfs to make sure we don't get any invalid looking stuff from Apple EFI firmware
efibootmgr-0.5.4-ignore-bad-attribute.patch (text/plain), 852 bytes, created by
Alex Murray
on 2012-11-28 09:56:34 UTC
(
hide
)
Description:
Zero out 31st bit of attributes when reading from sysfs to make sure we don't get any invalid looking stuff from Apple EFI firmware
Filename:
MIME Type:
Creator:
Alex Murray
Created:
2012-11-28 09:56:34 UTC
Size:
852 bytes
patch
obsolete
>From b761e0d75fb5c755a5133b6632870d1f903a20eb Mon Sep 17 00:00:00 2001 >From: Alex Murray <murray.alex@gmail.com> >Date: Wed, 28 Nov 2012 04:17:28 -0500 >Subject: [PATCH] Ignore bad attribute in latest Apple EFI firmware > >--- > src/lib/efivars_sysfs.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/src/lib/efivars_sysfs.c b/src/lib/efivars_sysfs.c >index 182c70f..ea87325 100644 >--- a/src/lib/efivars_sysfs.c >+++ b/src/lib/efivars_sysfs.c >@@ -55,6 +55,10 @@ sysfs_read_variable(const char *name, efi_variable_t *var) > return EFI_INVALID_PARAMETER; > } > close(fd); >+ /* latest apple firmware sets high bit which appears invalid >+ to the linux kernel if we write it back so lets zero it out >+ if it is set since it would be invalid to set it anyway */ >+ var->Attributes = var->Attributes & ~(1 << 31); > return var->Status; > } > >-- >1.8.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 873629
: 653399