Created
November 19, 2013 10:24
-
-
Save ilovezfs/7543311 to your computer and use it in GitHub Desktop.
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
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c | |
index 13469dc..be5484e 100644 | |
--- a/module/zfs/zfs_ioctl.c | |
+++ b/module/zfs/zfs_ioctl.c | |
@@ -5801,8 +5801,8 @@ zfsdev_ioctl(dev_t dev, u_long cmd, caddr_t data, __unused int flag, struct pro | |
//printf("ioctl minor %d\n", minor); | |
- error = proc_suser(p); /* Are we superman? */ | |
- if (error) return (error); /* Nope... */ | |
+ //error = proc_suser(p); /* Are we superman? */ | |
+ //if (error) return (error); /* Nope... */ | |
// If minor > 0 it is an ioctl for zvol! | |
if (minor != 0 && |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment