Skip to content

Comments

Update following the removal of bootstrap.h in favor of libukpm#101

Open
mogasergiu wants to merge 3 commits intounikraft:stagingfrom
mogasergiu:smoga/ukpm
Open

Update following the removal of bootstrap.h in favor of libukpm#101
mogasergiu wants to merge 3 commits intounikraft:stagingfrom
mogasergiu:smoga/ukpm

Conversation

@mogasergiu
Copy link
Member

@mogasergiu mogasergiu commented Feb 5, 2026

The introduction of libukpm into the core obsoleted the bootstrap.h
header and its related implementations, therefore, remove its inclusion
from here as well.

Also, while at it, a small fixup for when the executable is not found in the path.

Depends-on: unikraft #1767

michpappas and others added 3 commits January 21, 2026 12:28
Update implementation to use the libukpaging API.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
The introduction of `libukpm` into the core obsoleted the `bootstrap.h`
header and its related implementations, therefore, remove its inclusion
from here as well.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
If the executable is not found in the environment, the `ret` variable
is not updated to the correct error value and `realpath` has an invalid
value which will cause an invalid page fault upon `free` attempt.

Apply this check to `progname_conv` while at it as well, to be sure.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants