- UID_ROOT, GID_WHEEL, 0644, "urandom", 0);
+ UID_ROOT, GID_WHEEL, 0666, "urandom", 0);
+}
+
+int
+random_ioctl( __unused dev_t dev, u_long cmd, __unused caddr_t data,
+ __unused int flag, __unused struct proc *p )
+{
+ switch (cmd) {
+ case FIONBIO:
+ case FIOASYNC:
+ break;
+ default:
+ return ENODEV;
+ }
+
+ return (0);