]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/file_internal.h
xnu-792.6.76.tar.gz
[apple/xnu.git] / bsd / sys / file_internal.h
index 76dd19505f24440a42b2d1eed0c7de1547a48ffd..4656bab002fe46cd23670ae4c7108d4439dbbfac 100644 (file)
@@ -122,7 +122,8 @@ struct fileglob {
                int     (*fo_write)     __P((struct fileproc *fp, struct uio *uio,
                                            struct ucred *cred, int flags,
                                            struct proc *p));
-#define        FOF_OFFSET      1
+#define        FOF_OFFSET      0x00000001      /* offset supplied to vn_write */
+#define FOF_PCRED      0x00000002      /* cred from proc, not current thread */
                int     (*fo_ioctl)     __P((struct fileproc *fp, u_long com,
                                            caddr_t data, struct proc *p));
                int     (*fo_select)    __P((struct fileproc *fp, int which,