X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/bsd/sys/file_internal.h diff --git a/bsd/sys/file_internal.h b/bsd/sys/file_internal.h index 76dd19505..4656bab00 100644 --- a/bsd/sys/file_internal.h +++ b/bsd/sys/file_internal.h @@ -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,