<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git/include/peimage.h, branch rolling</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=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2025-02-26T00:40:54+00:00</updated>
<entry>
<title>peimage.h: minor whitespace fixes</title>
<updated>2025-02-26T00:40:54+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2025-02-25T14:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=c5c5287b8a0da20b711601921dc34a9cfa2e39db'/>
<id>urn:sha1:c5c5287b8a0da20b711601921dc34a9cfa2e39db</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>post-process-pe: add tests to validate NX compliance</title>
<updated>2025-02-18T15:47:34+00:00</updated>
<author>
<name>Dennis Tseng</name>
<email>dennis.tseng@suse.com</email>
</author>
<published>2023-04-28T02:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=7cde2cc52f19f733de7855419d1c43a13a8d6c5f'/>
<id>urn:sha1:7cde2cc52f19f733de7855419d1c43a13a8d6c5f</id>
<content type='text'>
This changes post-process-pe to give warnings, and optionally errors, if
a shim binary is built with Section Alignment or characteristics are not
compatible with NX, or if the EFI_IMAGE_DLLCHARACTERISTICS_NX_COMPAT
flag is not set and require_nx_compat is true.

Co-authored-by: Peter Jones &lt;pjones@redhat.com&gt;
Co-authored-by: Kamil Aronowski &lt;kamil.aronowski@yahoo.com&gt;
Signed-off-by: Dennis Tseng &lt;dennis.tseng@suse.com&gt;
</content>
</entry>
<entry>
<title>pe: Add IS_PAGE_ALIGNED macro</title>
<updated>2023-01-27T19:18:13+00:00</updated>
<author>
<name>Nicholas Bishop</name>
<email>nicholasbishop@google.com</email>
</author>
<published>2022-12-20T19:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=e4f40ae862b5389c8cc7d4f938a34238421456a1'/>
<id>urn:sha1:e4f40ae862b5389c8cc7d4f938a34238421456a1</id>
<content type='text'>
This makes some checks in `get_mem_attrs` and `update_mem_attrs`
clearer.

Also add `test-pe-util.c` with a test for the new macro. The file is
named that way instead of `test-pe.c` to avoid having to get `pe.c`
building in the unit test environment.

Signed-off-by: Nicholas Bishop &lt;nicholasbishop@google.com&gt;
</content>
</entry>
<entry>
<title>peimage.h: make our signature macros force the type</title>
<updated>2022-05-18T20:37:23+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2022-05-18T18:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=f28833f7cbb3f536081b19c8a2cc6f709e772128'/>
<id>urn:sha1:f28833f7cbb3f536081b19c8a2cc6f709e772128</id>
<content type='text'>
scan-build invoked clang in a way that complains about our
SIGNATURE_XX() macro's sizes being used to assign to things that are
that size in post-process-pe.c.

This patch makes them cast the results to the appropriately sized type.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Add some missing PE image flag definitions</title>
<updated>2022-05-17T23:01:03+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2021-12-02T22:43:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=465663e5f6b350abdb18f0ab51ec8924e739bc78'/>
<id>urn:sha1:465663e5f6b350abdb18f0ab51ec8924e739bc78</id>
<content type='text'>
This patch adds some missing definitions for PE header flags.  We don't
use all of them, but it's less confusing with the list matching the
spec, except where the spec is obviously wrong.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Fix up a bunch of our license statements and add SPDX most places</title>
<updated>2021-02-16T08:12:48+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2020-12-11T20:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=aedb8470bd673385139ac3189ecd9edf4794af16'/>
<id>urn:sha1:aedb8470bd673385139ac3189ecd9edf4794af16</id>
<content type='text'>
The license statements in our source files were getting to be a giant
mess, and mostly they all just say the same thing.  I've switched most
of it to SPDX labels, but left copyright statements in place (where they
were not obviously incorrect copy-paste jobs that I did...).

If there's some change here you don't think is valid, let me know and
we can fix it up together.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Renaming PeImage.h to pe.h wasn't actually a good idea.</title>
<updated>2021-01-29T23:45:00+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2021-01-29T23:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=1fa0b8d50a7f93b266728f297fee8c43becec203'/>
<id>urn:sha1:1fa0b8d50a7f93b266728f297fee8c43becec203</id>
<content type='text'>
I renamed PeImage.h to pe.h when I de-capitalized them, but this turns
out to be a bad idea because we already have a pe.h on the SBAT branch.
Woops.

This moves it to peimage.h

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