<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git/shim.c, branch Release_3.0.0</title>
<subtitle> (mirror of https://github.com/vyos/efi-boot-shim.git)
</subtitle>
<id>https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=Release_3.0.0</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=Release_3.0.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2016-07-18T19:28:12+00:00</updated>
<entry>
<title>Don't close file twice in should_use_fallback error path</title>
<updated>2016-07-18T19:28:12+00:00</updated>
<author>
<name>Benjamin Antin</name>
<email>ben.antin@endlessm.com</email>
</author>
<published>2016-07-18T19:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=9c0a41378ad3cfd7115530d0e8f4e94019ae24a9'/>
<id>urn:sha1:9c0a41378ad3cfd7115530d0e8f4e94019ae24a9</id>
<content type='text'>
When fallback.efi is not present, the should_use_fallback error path
attempts to close a file that has already been closed, resulting in a
hang. This issue only affects certain systems.

This is a regression from version 0.8 and was introduced by commit
4794822.

Signed-off-by: Benjamin Antin &lt;ben.antin@endlessm.com&gt;
</content>
</entry>
<entry>
<title>shim: Fix unused variable error</title>
<updated>2016-06-30T20:25:21+00:00</updated>
<author>
<name>Carlo Caione</name>
<email>carlo@endlessm.com</email>
</author>
<published>2016-06-21T12:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=160741af151eef1635feb43498276285eba36f1e'/>
<id>urn:sha1:160741af151eef1635feb43498276285eba36f1e</id>
<content type='text'>
Signed-off-by: Carlo Caione &lt;carlo@endlessm.com&gt;
</content>
</entry>
<entry>
<title>shim: make the PE loader less overzealous on rejections</title>
<updated>2016-06-09T19:32:37+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2016-06-09T19:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=14a59055aa85e3e91b12a8ff53cf3216b8977e65'/>
<id>urn:sha1:14a59055aa85e3e91b12a8ff53cf3216b8977e65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Measure state and second stage into TPM</title>
<updated>2016-05-11T15:11:05+00:00</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg59@coreos.com</email>
</author>
<published>2015-09-21T21:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=22b58f245549a5d1f1d617a790c03966c4356d1c'/>
<id>urn:sha1:22b58f245549a5d1f1d617a790c03966c4356d1c</id>
<content type='text'>
Add support for measuring the MOK database and secure boot state into a
TPM, and do the same for the second stage loader. This avoids a hole in
TPM measurement between the firmware and the second stage loader.
</content>
</entry>
<entry>
<title>shim: dealing with only one string on loadoption</title>
<updated>2016-05-11T15:10:17+00:00</updated>
<author>
<name>Ivan Hu</name>
<email>ivan.hu@canonical.com</email>
</author>
<published>2016-05-10T05:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=085d56c46423732b841d092f02c94ca63e2f6f1e'/>
<id>urn:sha1:085d56c46423732b841d092f02c94ca63e2f6f1e</id>
<content type='text'>
The second stage set is not working after commit
3322257e611e2000f79726d295bb4845bbe449e7 for those which load option
only have one string.

Signed-off-by: Ivan Hu &lt;ivan.hu@canonical.com&gt;
</content>
</entry>
<entry>
<title>shim: mirror MokSBState in runtime so the kernel can make use of it.</title>
<updated>2016-03-22T15:14:31+00:00</updated>
<author>
<name>Mathieu Trudel-Lapierre</name>
<email>mathieu.trudel-lapierre@canonical.com</email>
</author>
<published>2016-01-11T20:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=8f1bd605d05077a76502de5510cc937c4f4c62dd'/>
<id>urn:sha1:8f1bd605d05077a76502de5510cc937c4f4c62dd</id>
<content type='text'>
Signed-off-by: Mathieu Trudel-Lapierre &lt;mathieu.trudel-lapierre@canonical.com&gt;
</content>
</entry>
<entry>
<title>shim: check for EFI\BOOT\BOOT${ARCH}.EFI as well as the leading \ version</title>
<updated>2015-11-17T16:40:29+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-11-09T19:33:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=edeb313e6e7257b858da06d562ac74468a48129f'/>
<id>urn:sha1:edeb313e6e7257b858da06d562ac74468a48129f</id>
<content type='text'>
I found a machine whose BDS gives us relative paths, yay!  The rest of
the code still works without that leading slash, so just make it one
more item we let through our StrnCaseCmp() filter.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>shim: fix resource leak on should_use_fallback() error path</title>
<updated>2015-11-17T16:40:23+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-11-09T19:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=4794822464ea0ff4073fdfd3526fd059a2c1f05e'/>
<id>urn:sha1:4794822464ea0ff4073fdfd3526fd059a2c1f05e</id>
<content type='text'>
ExitBootServices() and Exit() should both clean these up anyway, but we
should do the right thing nonetheless.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>shim: if generate_path() gets a full path, just return it.</title>
<updated>2015-11-17T16:40:01+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-11-05T20:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=2e655619387df0a2a4908319509e4653bd01d4c1'/>
<id>urn:sha1:2e655619387df0a2a4908319509e4653bd01d4c1</id>
<content type='text'>
We decide if it's a full path by if it starts with \\EFI\\.  That's
quite lazy, but we can't just check \\ like you'd hope, because we need
to stay compatible with what we've set as DEFAULT_LOADER in the past,
and I don't feel like writing the full path traversal file test.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>shim: fix a wrong-abi call to Stall() and ResetSystem()</title>
<updated>2015-11-17T16:39:54+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-11-05T19:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=cf5f75fa147355857875eab861a61f75ba47492c'/>
<id>urn:sha1:cf5f75fa147355857875eab861a61f75ba47492c</id>
<content type='text'>
Woops.  The net outcome of these is going to be a sleep of unknown
duration, followed by either a) ResetSystem() with some random selection
of warm/cold boot, or b) ResetSystem() returning an error and shim
returning error from efi_main().

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
</feed>
