Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created November 19, 2013 10:24
Show Gist options
  • Save ilovezfs/7543311 to your computer and use it in GitHub Desktop.
Save ilovezfs/7543311 to your computer and use it in GitHub Desktop.
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