Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "linux-hardened: Disable GCC_PLUGIN_RANDSTRUCT"
This reverts commit 5dda132. Presumably this was done to work around build errors or something but it works fine now.
- Loading branch information
c68e8b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joachifm I think
RANDSTRUCT
is breaking wireguard here: https://gist.github.com/ivan/fd20f1573d402d55e04564702d633570 (this is after a reboot into the new kernel)c68e8b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In what context is this happening? When randstruct is enabled, loading a module into a kernel built with a different random seed is expected to fail; looks to me like this is what happened here (going by the modversion disagreement mentioned in the error message).
c68e8b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you care to, please open an issue about this
c68e8b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It occurs to me that the seed might not be carried over to out-of-tree builds ...