---
title: chroot
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_events_t/chroot
---

# chroot

Properties of an event that indicates a change to a process’s root directory.

## Declaration

```swift
var chroot: es_event_chroot_t { get set }
```

## See Also

### Process Events

- [chdir](endpointsecurity/es_events_t/chdir.md)
- [exec](endpointsecurity/es_events_t/exec.md)
- [fork](endpointsecurity/es_events_t/fork.md)
- [proc_check](endpointsecurity/es_events_t/proc_check.md)
- [signal](endpointsecurity/es_events_t/signal.md)
- [exit](endpointsecurity/es_events_t/exit.md)
