---
title: check_task_access_with_flavor
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 11.3+]
path: kernel/3736285-check_task_access_with_flavor
---

# check_task_access_with_flavor

## Declaration

```occ
kern_return_t check_task_access_with_flavor(mach_port_t task_access_port, int32_t calling_pid, uint32_t calling_gid, int32_t target_pid, mach_task_flavor_t flavor);
```
