X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..ea3f04195ba4a5034c9c8e9b726d4f7ce96f1832:/iokit/IOKit/IOBSD.h?ds=inline diff --git a/iokit/IOKit/IOBSD.h b/iokit/IOKit/IOBSD.h index 5135d166a..0df8690ef 100644 --- a/iokit/IOKit/IOBSD.h +++ b/iokit/IOKit/IOBSD.h @@ -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 }