forked from linux-kernel-labs/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exec: Make exec path for starting UKL application
The UKL application still relies on much of the setup done to start a standard user space process, so we still need to use much of that path. There are several areas that the UKL application doesn't need or want so we bypass them in the case of UKL. These are: ELF loading, because it is part of the kernel image; and segments register value initialization. We need to record a starting location for the application heap, this normally is the end of the ELF binary, once loaded. We choose an arbitrary low address because there is no binary to load. We also hardcode the entry point for the application to ukl__start which is the entry point for glibc plus the 'ukl_' prefix. Suggested-by: Thomas Unger <tommyu@bu.edu> Signed-off-by: Ali Raza <aliraza@bu.edu> Cc: Daniel Bristot de Oliveira <bristot@kernel.org> Cc: Richard W.M. Jones <rjones@redhat.com>
- Loading branch information
1 parent
c03051e
commit c3b3d60
Showing
4 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters