]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IOBSD.h
xnu-6153.101.6.tar.gz
[apple/xnu.git] / iokit / IOKit / IOBSD.h
index 5135d166af900cf6df3a11e60a3d29f506e25fba..0df8690ef1fa99c8d6e25cca1ae493835dab4624 100644 (file)
@@ -61,8 +61,17 @@ enum{
 extern void IOBSDMountChange(struct mount * mp, uint32_t op);
 extern boolean_t IOTaskHasEntitlement(task_t task, const char * entitlement);
 
+typedef enum {
+       kIOPolledCoreFileModeNotInitialized,
+       kIOPolledCoreFileModeDisabled,
+       kIOPolledCoreFileModeClosed,
+       kIOPolledCoreFileModeStackshot,
+       kIOPolledCoreFileModeCoredump,
+} IOPolledCoreFileMode_t;
+
 extern struct IOPolledFileIOVars * gIOPolledCoreFileVars;
 extern kern_return_t gIOPolledCoreFileOpenRet;
+extern IOPolledCoreFileMode_t gIOPolledCoreFileMode;
 
 #ifdef __cplusplus
 }