Path: blob/master/external/source/exploits/CVE-2016-4669/__task.h
19758 views
#ifndef _task_user_1#define _task_user_23/* Module task */45#include <string.h>6#include <mach/ndr.h>7#include <mach/boolean.h>8#include <mach/kern_return.h>9#include <mach/notify.h>10#include <mach/mach_types.h>11#include <mach/message.h>12#include <mach/mig_errors.h>13#include <mach/port.h>1415#ifndef KERNEL16#if defined(__has_include)17#if __has_include(<mach/mig_voucher_support.h>)18#ifndef USING_VOUCHERS19#define USING_VOUCHERS20#endif21#ifndef __VOUCHER_FORWARD_TYPE_DECLS__22#define __VOUCHER_FORWARD_TYPE_DECLS__23#ifdef __cplusplus24extern "C" {25#endif26extern boolean_t voucher_mach_msg_set(mach_msg_header_t *msg) __attribute__((weak_import));27#ifdef __cplusplus28}29#endif30#endif // __VOUCHER_FORWARD_TYPE_DECLS__31#endif // __has_include(<mach/mach_voucher_types.h>)32#endif // __has_include33#endif // !KERNEL3435#ifdef __MigPackStructs36#pragma pack(4)37#endif38typedef struct {39mach_msg_header_t Head;40NDR_record_t NDR;41kern_return_t RetCode;42} __Reply__mach_ports_register_t __attribute__((unused));43#ifdef __MigPackStructs44#pragma pack()45#endif464748#endif495051