[PXEXT] Add PXENV_FILE_EXEC call to PXE extensions API.
authorMichael Brown <mcb30@etherboot.org>
Tue, 4 Mar 2008 18:16:30 +0000 (18:16 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 4 Mar 2008 18:16:30 +0000 (18:16 +0000)
commitb62f2325ba2bc4cfacf9d4ce1db6fd37cd966f9c
tree66cde99a8b09d12b2fd9cbb487b7c2d87b6809db
parentb08a6f530042cfc0f8be2209cde9fab3d0ab9143
[PXEXT] Add PXENV_FILE_EXEC call to PXE extensions API.

This allows pxelinux to execute arbitrary gPXE commands.  This is
remarkably unsafe (not least because some of the commands will assume
full ownership of memory and do nasty things like edit the e820 map
underneath the calling pxelinux), but it does allow access to the
"sanboot" command.
src/arch/i386/interface/pxe/pxe_call.c
src/include/pxe.h
src/include/pxe_api.h
src/interface/pxe/pxe_file.c