search for: va_typ

Displaying 2 results from an estimated 2 matches for "va_typ".

Did you mean: v_typ
2003 Nov 30
0
FreeBSD mknod refuses to create pipes and fifos
...sys/kern/vfs_syscalls.c Sun Nov 30 01:25:35 2003 @@ -1189,6 +1189,10 @@ case S_IFBLK: error = suser(p); break; + 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 cre...
2013 Sep 12
1
9.2-RC1 panic at shutdown
...8ae338, rootrefs=1, flags=2, td=0xfffffe008be0b000) at /usr/src/sys/kern/vfs_subr.c:2687 _rc = <value optimized out> vp = (struct vnode *) 0xfffffe0035273000 mvp = (struct vnode *) 0xfffffe008bc36800 rootvp = (struct vnode *) 0xfffffe0035273000 vattr = {va_type = 2175779674, va_mode = 65535, va_nlink = -1, va_uid = 689, va_gid = 0, va_fsid = 3889432544, va_fileid = -2133215974, va_size = 4, va_blocksize = 525312, va_atime = {tv_sec = -2198131494912, tv_nsec = 689}, va_mtime = {tv_sec = -545866381232, tv_nsec = -2137280809}, va_ctime = {tv_sec = -212702...