Gary Ching-Pang Lin
8bd7bad4b7
Remove the duplicate calls in lib/console.c
...
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
2014-06-25 10:15:31 -04:00
Gary Ching-Pang Lin
22254e2633
MokManager: handle the error status from ReadKeyStroke
...
On some machines, even though the key event was signaled, ReadKeyStroke
still got EFI_NOT_READY. This commit handles the error status to avoid
console_get_keystroke from returning unexpected keys.
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Conflicts:
MokManager.c
2014-06-25 10:02:18 -04:00
Peter Jones
293f28d1fe
Error check the right thing in get_variable_attr() when allocating.
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-11-21 11:48:24 -05:00
Peter Jones
4dbef508ab
Initialize entries before we pass it to another function.
...
Coverity scan noticed that entries is uninitialized when we pass its
location to another function.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-11-21 11:48:24 -05:00
Peter Jones
af25679e16
Fix wrong sizeof().
...
CHAR16* vs CHAR16**, so the result is the same on all platforms.
Detected by coverity.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-11-21 11:48:24 -05:00
Andrew Boie
9712a7e77d
allow 32-bit compilation with 64-bit compiler
...
Also removed unused LIB_PATH from some Makefiles.
Change-Id: I7d28d18f7531b51b6121a2ffb88bcaedec57c467
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2013-11-12 10:31:59 -05:00
Peter Jones
3c0ee51ad8
Put SHIM_VERBOSE under shim's guid, not global.
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-04 13:54:35 -04:00
Peter Jones
880f9de412
Try to actually make debug printing look reasonable.
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-04 11:51:09 -04:00
Peter Jones
fc986307fb
Add ident-like blobs to shim.efi for version checking.
...
I feel dirty.
2013-10-03 11:11:09 -04:00
Peter Jones
aec345c0b2
CompareMem expects void * and gcc complains.
...
Sorry about that.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-02 10:02:01 -04:00
Peter Jones
6e5d86e565
Clean up warnings.
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-01 14:38:09 -04:00
Peter Jones
f330528786
Conditionalize overriding the security policy.
...
Make OVERRIDE_SECURITY_POLICY a build option.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-01 14:03:16 -04:00
Peter Jones
4537217422
Merge console_control.h and console.h
...
Since these are topically the same thing, they can live together.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-01 14:03:16 -04:00
Peter Jones
09a37bbc69
Make verbose stuff use console_notify
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-01 14:03:16 -04:00
Gary Ching-Pang Lin
3508c40c39
integrate security override
2013-09-26 11:58:03 -04:00
Gary Ching-Pang Lin
7d602e843c
Merge variable retrieving functions
2013-09-26 11:58:02 -04:00
Gary Ching-Pang Lin
79424b09ca
Merge signature.h into efiauthenticated.h and guid.h
...
Conflicts:
shim.c
2013-09-26 11:58:02 -04:00
Peter Jones
4a7f9bd4a6
Make EFI_PATH easily resettable from the build command line.
...
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-09-26 11:58:01 -04:00
Gary Ching-Pang Lin
b82d6d7cb1
simple_file: Allocate buffers for file entries
...
The dir filter appends L'/' to the directory entries without
allocating a new buffer, and this could crash the whole program.
2013-09-26 11:58:01 -04:00
Matthew Garrett
d359712e1b
Port MokManager to Linux Foundation loader UI code
...
This is the first stage of porting the MokManager UI to the UI code used
by the Linux Foundation UEFI loader.
2013-09-26 11:57:59 -04:00