]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[image] Add concept of trusted images
authorMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2012 13:39:45 +0000 (13:39 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2012 16:16:02 +0000 (16:16 +0000)
commit97dcc824bf298788e37f6869417662b0b9d16102
tree60d81bbd91a751e02c6b139887eae33dafe33a7c
parentefb0c7fce4f9dd8e782209a84221088ee39bce67
[image] Add concept of trusted images

Trusted images may always be executed.  Untrusted images may be
executed only if the current image trust requirement allows untrusted
images.

Images can be marked as trusted using image_trust(), and marked as
untrusted using image_untrust().

The current image trust requirement can be changed using
image_set_trust().  It is possible to make the change permanent, in
which case any future attempts to change the image trust requirement
will fail.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/image.c
src/include/ipxe/image.h
src/usr/imgmgmt.c