]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/file_internal.h
xnu-1486.2.11.tar.gz
[apple/xnu.git] / bsd / sys / file_internal.h
index ea08133770f3813da8f06a15481edcab8c1a334d..5ee8ea4fe4bc721de3936f455f13b9db92c51d85 100644 (file)
@@ -99,7 +99,7 @@ struct fileproc {
 #define FP_INCREATE    0x0001
 #define FP_INCLOSE     0x0002
 #define FP_INSELECT    0x0004
-#define FP_INCHRREAD   0x0008
+#define FP_INCHRREAD   0x0000  /* disable FP_INCHRREAD <rdar://6986929> */
 #define FP_WRITTEN     0x0010
 #define FP_CLOSING     0x0020
 #define FP_WAITCLOSE   0x0040
@@ -175,6 +175,7 @@ extern struct filelist filehead;    /* head of list of open files */
 extern struct fmsglist fmsghead;       /* head of list of open files */
 extern int maxfiles;                   /* kernel limit on number of open files */
 extern int nfiles;                     /* actual number of open files */
+extern int maxfilesperproc;
 #endif /* __APPLE_API_PRIVATE */
 
 
@@ -216,6 +217,8 @@ void procfdtbl_markclosefd(struct proc * p, int fd);
 void procfdtbl_releasefd(struct proc * p, int fd, struct fileproc * fp);
 void procfdtbl_waitfd(struct proc * p, int fd);
 void procfdtbl_clearfd(struct proc * p, int fd);
+boolean_t filetype_issendable(file_type_t type);
+extern int fdgetf_noref(proc_t, int, struct fileproc **);
 __END_DECLS
 
 #endif /* __APPLE_API_UNSTABLE */