forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBSD: Add new kernel config option: HARDEN_KLD
This separates out the KLD hardening features into its own kernel config option, rather than including the feature in PAX_HARDENING. We still zero out the kernel addresses of loaded modules in the KLD stat syscall. Removing HARDEN_KLD from the kernel configenables DTrace to resolve kernel symbols. DTrace can't resolve symbols with zeroed-out kernel addresses in the KLD stat syscall. Ideally, DTrace needs to be enhanced to not use the KLD KPI to resolve kernel symbols. A separate faciilty/KPI may need to be created. I leave this task to the community to implement. When implemented, HARDEN_KLD can be re-enabled. Signed-off-by: Shawn Webb <[email protected]> Reported-by: @Tuto2 issue: #22 MFC-to: 12-STABLE
- Loading branch information
Showing
6 changed files
with
25 additions
and
4 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
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