Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow volatility profile building from custom sources #839

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xambroz
Copy link

@xambroz xambroz commented Feb 7, 2023

Change the default definition of the KDIR from being just a prefix to full path to the kernel headers allows to override this value and compile the module using arbitrary location of the kernel headers or full source code.

Added also some common usage examples in the comment.

Adding the PREFIX variable might serve the original prefix purpose of the KDIR if somebody needs such functionality in some mass module rebuilding scripts

Change the default definition of the KDIR from being just a prefix to full path to the kernel headers allows to override this value and compile the module using arbitrary location of the kernel headers or full source code.

Added also some common usage examples in the comment.

Adding the PREFIX variable might serve the original prefix purpose of the KDIR if somebody needs such functionality in some mass module rebuilding scripts
Leaving the module.ko allows for manual inspection for example using modinfo and possibly even copying to the remote system and trying to load the module in order to confirm it is compiled with the right kernel release string and symbols
@xambroz xambroz changed the title Allow building from custom sources Allow volatility profile building from custom sources Feb 8, 2023
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.

1 participant