Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Replace P2ROUNDUP* macro implementations by Linux kernel variants. #423

Closed
wants to merge 1 commit into from
Closed

Conversation

shizmob
Copy link

@shizmob shizmob commented Dec 28, 2014

This replaces the implementation of P2ROUNDUP* by the implementation used in Linux's round_up() macro: http://lxr.free-electrons.com/source/include/linux/kernel.h?v=3.2#L53. This implementation does not trigger PaX' overflow detection erroneously and thus would fix issue 2505. It was tested by @perfinion and found to be indeed fixing the issue, but a more detailed review is understandable and probably desirable.

This replaces the implementation of P2ROUNDUP* by the implementation
used in Linux's round_up() macro. This implementation does not trigger
PaX' overflow detection erroneously.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PAX: size overflow detected in function zil_itx_create
1 participant