Displaying 1 result from an estimated 1 matches for "vfifo".
Did you mean:
fifo
2003 Nov 30
0
FreeBSD mknod refuses to create pipes and fifos
...+ case S_IFIFO:
+ case S_IFSOCK:
+ error = 0;
+ break;
default:
error = suser_xxx(0, p, PRISON_ROOT);
break;
@@ -1217,6 +1221,12 @@
break;
case S_IFBLK:
vattr.va_type = VBLK;
+ break;
+ case S_IFSOCK:
+ vattr.va_type = VSOCK;
+ break;
+ case S_IFIFO:
+ vattr.va_type = VFIFO;
break;
case S_IFWHT:
whiteout = 1;
1) I'm not sure if FIFO and/or SOCK creation with mknod should be allowed to
non-root users. This patch allows non-root to create them, but it's easy to
change that.
2) Should we allow IFREG creation with mknod? I did not find a reason to...