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

ZFS requires CONFIG_PAX_USERCOPY_SLABS to be disabled #2977

Closed
8573 opened this issue Dec 19, 2014 · 2 comments
Closed

ZFS requires CONFIG_PAX_USERCOPY_SLABS to be disabled #2977

8573 opened this issue Dec 19, 2014 · 2 comments
Labels
Type: Building Indicates an issue related to building binaries
Milestone

Comments

@8573
Copy link

8573 commented Dec 19, 2014

Gentoo Linux’s sys-fs/zfs-kmod-0.6.3-r1 package (and possibly
earlier versions; I don’t know) requires that the grsecurity/PaX
kernel configuration setting CONFIG_PAX_USERCOPY_SLABS be disabled.

I’m filing this report to track this issue on the pattern of
openzfs/spl#422.

@8573
Copy link
Author

8573 commented Dec 19, 2014

Gentoo bug report: https://bugs.gentoo.org/532994.

@behlendorf behlendorf added Type: Building Indicates an issue related to building binaries Difficulty - Medium labels Dec 19, 2014
@behlendorf behlendorf added this to the 0.6.5.2 milestone Sep 28, 2015
@behlendorf
Copy link
Contributor

Closing. Support added with commit openzfs/spl@2ebe396

behlendorf added a commit to behlendorf/zfs that referenced this issue May 21, 2018
Support grsecurity/PaX kernel configurations where
CONFIG_PAX_USERCOPY_SLABS are enabled.  When this kernel option
is enabled slabs which are used to copy between user and kernel
space must be created with SLAB_USERCOPY.

Stock Linux kernels do not have a SLAB_USERCOPY definition so
this causes no change in behavior for non-PAX-enabled kernels.

Verified-by: Wuffleton <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue openzfs#2977
Issue openzfs#3796
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

2 participants